PHP: Supprimer un fichier

<?php
   $file_delete = "home/meeta/my.php";
   
   if (unlink($file_delete)) {
      echo "The file was deleted successfully.", " ";
   } else {
      echo "The specified file could not be deleted. Please try again.", " ";
   }
?>
           
       
<?php
   $file_delete = "home/meeta/my.php";
   
   if (unlink($file_delete)) {
      echo "Le fichier a été supprimé.", " ";
   } else {
      echo "Impossible de supprimer ce fichier.", " ";
   }
?>
 
 
 
           
       

No Comments

  • Your comment is awaiting moderation

    Hello my family member! I wish to say that this post is awesome, nice written and include
    approximately all significant infos. I would like to see extra
    posts like this.

    Here is my page http://www.patienttorget.se

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>