Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

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

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

No comments yet.

Leave a Comment