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?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to