On 2001-05-18 05:28:19, [EMAIL PROTECTED] wrote:
> ID: 10701
> Status: Closed
> But a hint.  Don't use readfile(), fopen() the file and read it a bit
at
a time instead of sticking the entire thing in memory.

Does readfile() really read the whole thing into memory first??

Perhaps we should change it so that it reads chunks and then spits them
out; it won't break any scripts and will make PHP more memory efficient as
that guy suggested.

Or am I missing something?

--Wez.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to