Jump to content


Photo

Deleteing a file


  • Please log in to reply
1 reply to this topic

#1 aaronk

aaronk
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 September 2006 - 12:04 PM

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/del...?file=file1.txt

any ideas?

#2 paul2463

paul2463
  • Members
  • PipPipPip
  • Advanced Member
  • 955 posts
  • LocationUK

Posted 03 September 2006 - 01:24 PM

Have a look here in the <a href="http://uk2.php.net/m...on.unlink.php"> Manual </a>
you cannot affect the past but you can ruin a perfectly good present by worrying about the future

*********************************************************************
The <A HREF="http://www.php.net/d...php">MANUAL</A> is actually a useful resource




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users