help with unlink and checkbox

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi all..

I need a web page who can delete some files into a web server directory with
a form and checkbox..

can somebody forward me in a right web page ( I look into without
success..) where can study these php features?


Re: help with unlink and checkbox

unlink() takes a string as an argument, and deletes the file at that
path.  For example, to delete /usr/local/foo/bar.txt, just call:


Of course this assumes that permissions are set correctly.  You'll
probably need write permissions on the file or directory for the user
account that your webserver runs under.

Site Timeline