I tried XAMPP and gave up...I faced an issue with backslashes(widows uses forward slashes)..due to this none of my scripts could save any files to folders because the path would be like dir1\dir2\folder/image_folder/image.jpg...I tried WAMP it worked like a charm..it threw no errors and saved the image files as intented...so..I guess I will stick to WAMP...I would appreciate it if someone could tell me how the "madslashes" issue is fixed on XAMPP..I googled furiously..without any luck..thanks