PHP: Copier un fichier

Author:
<?php
   $source = "./test.txt";
   $destination = "./copie.txt";
                
   if(copy($source, $destination)) {
      echo "FLe fichier a été copié.", " ";
   } else {
      echo "Impossible de copier ce fichier.", " ";
   }
               
?>
 
 
           
       

Leave a Reply

Your email address will not be published. Required fields are marked *


six − = 5