fgets

fgets

(PHP 4, PHP 5, PHP 7)

fgetsGets 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()登录查看完整内容