PHP: Ajouter le contenu d’un fichier dans String

Author:
 
 
<?
$fh = fopen("test.txt", "r");
while (! feof($fh)) :
     $line = fgets($fh, 4096);
     print $line."<br>";
endwhile;
fclose($fh);
?>
  
  

Leave a Reply

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


six × = 30