PHP: Vérifier si on a attends la fin du fichier

Author:
 
<?
    $huge_file = fopen("VERY_BIG_FILE.txt", "r");
    while (!feof($huge_file)) {
            print fread($huge_file, 1024);
    }
    fclose($huge_file);
?>
  
  

Leave a Reply

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


− six = 1