Re: largest value of the 2nd parameter in fgets function

From: Date: Fri, 06 Sep 2002 02:06:29 +0000
Subject: Re: largest value of the 2nd parameter in fgets function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87979@lists.php.net to get a copy of this message
Please use the php-general for questions like this. - see http://www.php.net/fread Regards Alan Terence Lee wrote:
hello i've tried to read a line from a text file by fgets($fp,8192). it work fine. however, there is a line over 8192 char and i tried to increase the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are read to my string variables. is it a limit of fgets or length of a string? any way to achieve getting more than 8192 char from a line in a text file? pls advice. terence


« previous php.dev (#87979) next »