...

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



alpeshsavalia
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

nikkiH
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").
http://www.tizag.com/phpT/filedelete.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum