Woodburn2006 Posted August 31, 2006 Share Posted August 31, 2006 how do i delete images from the server. i have built a control panel for a website that i am building and it involves a picture gallery and i was wondering if it was possible to delete images from the server. i will try to lay ot out so that you can view the images and next to each image is a check box. if the user wants to dele the image they will select the box and then click a delete button at the bottom of the page, this will then delete all of the selected images.anybody have any ideas on this? Link to comment https://forums.phpfreaks.com/topic/19247-delete-files/ Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 unlink(); Link to comment https://forums.phpfreaks.com/topic/19247-delete-files/#findComment-83380 Share on other sites More sharing options...
Woodburn2006 Posted August 31, 2006 Author Share Posted August 31, 2006 cool cheers, would i just put all of the names of files which need to be deleted into an array and just do a foreach loop? Link to comment https://forums.phpfreaks.com/topic/19247-delete-files/#findComment-83387 Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 sure, why not? if that's how you want your code to be executed. Link to comment https://forums.phpfreaks.com/topic/19247-delete-files/#findComment-83695 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.