- Forums
- PHP
- How To Delete A File In Php Deleting Files With Php Remove
This Page Contains information about How To Delete A File In Php Deleting Files With Php Remove By wallpaperama in category PHP with 1 Replies. [1075], Last Updated: Sat May 18, 2024
wallpaperama
Sat Feb 09, 2008
1 Comments
2775 Visits
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.txthope this helps
https://www.wallpaperama.com/forums/how-to-delete-a-file-in-php-deleting-files-with-php-remove-t5705.html