PHP: fgets - Manual
(PHP 3, PHP 4 ) fgets -- Gets line from file pointer Description string fgets ( resource handle [, int length]) Returns a string of up to length - 1 bytes read from the file pointed to by handle. Reading ends when length - 1 bytes have been read, on a new...