Delete a file : File Delete : File Directory PHP Source Code


PHP Source Code » File Directory » File Delete »

 

Delete a file



<?php
   $file_delete = "home/meeta/my.php";
   
   if (unlink($file_delete)) {
      echo "The file was deleted successfully.""n";
   else {
      echo "The specified file could not be deleted. Please try again.""n";
   }
?>



           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» File Delete