PHP: fgets - Manual - CCT Group Homepage
It has been my experience that when using fgets on a file have line lengths that vary from 1 to 3000 that one better supplies the buffer length instead of letting php do the thinking. while(! feof($handle)){ $line=fgets($handle); $crc = crc32(chop($line))...