fgets() problem
| From: | Armand Turpel | Date: | Fri, 13 Jun 2003 13:55:20 +0000 |
| Subject: | fgets() problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151361@lists.php.net to get a copy of this message | ||
It seems that some php versions have difficulties with the fgets() function.
On php 4.3.2 it works fine, but other versions report warnings.
fgets($f);
Warning: Wrong parameter count for fgets() in
/var/www/Xprotector/include/base.inc.php on line 70
If I change fgets to
fgets($f, 4096);
it woks.
Any idea why?