Read till the end of a file
<? $huge_file = fopen("VERY_BIG_FILE.txt", "r"); while (!feof($huge_file)) { print fread($huge_file, 1024); } fclose($huge_file); ?>