[chora] cvs file download problem

MagicalTux MagicalTux at FF.st
Sat Dec 13 00:35:17 PST 2003


Selon Chuck Hagenbuch <chuck at horde.org>:

> If you look at the docs for fgets: http://us4.php.net/fgets, the second
> parameter (which we don't pass) is supposed to be optional. Maybe a bug in
> php
> 4.1.2?
> 
> -chuck
> 

Look closely at http://us4.php.net/fgets :
Note: The length parameter became optional in PHP 4.2.0, if omitted, it would
assume 1024 as the line length. As of PHP 4.3, omitting length will keep
reading from the stream until it reaches the end of the line. If the majority
of the lines in the file are all larger than 8KB, it is more resource efficient
for your script to specify the maximum line length.

I already answered to that email but I didn't see that my mailer wasn't sending
my answer to the list.


MagicalTux
-- 
FF.ST NetworK
IRC Services and more


More information about the chora mailing list