View Full Version : how can i update my image and delete older one

01-01-2007, 02:09 PM
i have made one display form with image upload. i can update image in my specified folder but i cannot delete older one. my database,works correctly and updates the filename of the image. how can i delete older one

01-01-2007, 02:28 PM
Is the image stored as an actual file in the filesystem (as opposed to BLOB in database)?
If so, either log in to your server and delete it, or create a php file that does the delete ("unlink").