Created
April 2, 2015 13:50
-
-
Save phpdave/2b966b7003219853a512 to your computer and use it in GitHub Desktop.
delete a file using unlink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(unlink("test.txt")) | |
echo "true"; | |
else | |
echo "false"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment