By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,300 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

help with unlink and checkbox

P: n/a
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 php.net without
success..) where can study these php features?

cheers.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://www.php.net/function.unlink

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:

unlink("/usr/local/foo/bar.txt");

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.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.