Re: cvs file download problem

MagicalTux <[email protected]>
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
Selon Chuck Hagenbuch <[email protected]>:

> 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

-- 
Chora mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.