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? Quote Link to comment Share on other sites More sharing options...
.josh Posted August 31, 2006 Share Posted August 31, 2006 unlink(); Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.