the main problem is when a user uploads a photo to my site, the script converts the file name to something like 863d56ec9a75c15fbad89e8c046f43e1.jpg, and storing this file name to mysql database, and everything was doing fine. but now when i try to upload a pic, after uploading the pic is not appearing coz the entry now in database is like http://www.sitename.com/memphoto2//5b06e1969ac7c2be6d9872feb7d739adjpg (note extra things like site link, foldername, double back slash, and no dot before jpg in the last) my hosting provider told me that they re-installed or upgraded GD Library (and may be something else) on server 2-3 days back. and i havnt change any code or anything in site from 15 days so what do u think where the problem is???????
Well - if you post the upload-script here, or at least the part where filename is assigned, path chosen and query run, we might be able to give you some pointers. The full upload-script would probably be best, though.