Jump to content

Archived

This topic is now archived and is closed to further replies.

aaronk

Deleteing a file

Recommended Posts

hello..

just wondering how do you delete a file using php?

if i have a file on my web server called file1.txt how do I delete it using something like this:

http://MYURL.com/delete.php?file=file1.txt

any ideas?

Share this post


Link to post
Share on other sites
Have a look here in the <a href="http://uk2.php.net/manual/en/function.unlink.php"> Manual </a>

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.