pneudralics Posted October 27, 2008 Share Posted October 27, 2008 I have a php script to upload images. When it uploads... the name of the image gets put in the database. I was wondering if I delete the name how can I also delete the image in the folder? Link to comment https://forums.phpfreaks.com/topic/130301-solved-is-there-a-way-for-php-to-delete-an-image-and-the-name-in-the-database/ Share on other sites More sharing options...
rhodesa Posted October 27, 2008 Share Posted October 27, 2008 http://us2.php.net/manual/en/function.unlink.php Link to comment https://forums.phpfreaks.com/topic/130301-solved-is-there-a-way-for-php-to-delete-an-image-and-the-name-in-the-database/#findComment-675768 Share on other sites More sharing options...
pneudralics Posted October 27, 2008 Author Share Posted October 27, 2008 Thanks Link to comment https://forums.phpfreaks.com/topic/130301-solved-is-there-a-way-for-php-to-delete-an-image-and-the-name-in-the-database/#findComment-675778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.