How To Delete A File In Php Deleting Files With Php Remove

Mobile
feeds
Welcome Login | Register

How To Delete A File In Php Deleting Files With Php Remove
  Forums Index
      » PHP Forums
        » » how to delete a file in php deleting files with php remove



How To Delete A File In Php Deleting Files With Php Remove
Post Description:
Post Tags: how, to, delete, a, file, in, php, deleting, files, with, php, remove, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 429 Times Since Sat Feb 09, 2008 8:07 pm Posted By hostman with 0 replies
Next Post »» Parse error: parse error, unexpected '[', expecting ',' or ';' in
How To Delete A File In Php Deleting Files With Php Remove
if you want to delete or remove a file with your php scripts, you can do that in the code with one simple function:

$file = 'delete.txt';
unlink($file);


the above code would delete a file called delete.txt

hope this helps


Leave Your Comments






Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About How To Delete A File In Php Deleting Files With Php Remove




(0) Comments