Jump to content


Deleteing a file

  • Please log in to reply
1 reply to this topic

#1 aaronk

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 September 2006 - 12:04 PM


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:


any ideas?

#2 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