fgets

Example

 string fgets ( resource $handle [, int $length ] ) 

Description

Gets a line from file pointer.

Return Values

Returns a string of up to length - 1 bytes read from the file pointed to by handle. If there is no more data to read in the file pointer, then FALSE is returned. If an error occurs, FALSE is returned.