fgets
fgets
(PHP 4, PHP 5, PHP 7)
fgets — Gets line from file pointer
Description
string fgets ( resource $handle [, int $length ] )
Gets a line from file pointer.
Parameters
-
handle
-
The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen()