Mega Code Archive

 
Categories / Php / File Directory
 

File existance

<?php   $myfile = "./test1.txt";   if (file_exists($myfile)) {     $result=unlink ($myfile);     echo $result;   }   ?>