Page 1 of 1

How to delete a image file from a folder.

Posted: Thu Jan 18, 2007 11:42 pm
by sarbas
Hi to all,

I have a problem with the image file management. Actually I use a folder to save the image-file which are used in my PHP pages, Where as I used to store the image-file's path and other details in a database , Here I can delete the details of the image file in database . but I dont know how to delete the particular image file from that folder . Can any one help with the complete solution .


Advance thanks

Sarbas,.

Posted: Fri Jan 19, 2007 12:05 am
by Jim_Bo
Hi,

Look into:

unlink()


Take alook at this post for the concept of how it works:

Take alook at this post for the concept of how it works


hth