PHP delete() Function::
Definition and Usage
The delete() function deletes a file.
This function returns TRUE on success and FALSE on failure.
Syntax
delete(file)
Parameter : file Required.
Description : Specifies the file to deleteExample
<?php
echo delete("target.txt");
?>
The output of the code above will be:
1
No comments:
Post a Comment