|
Posted by Michael Fesser on 09/10/07 17:27
..oO(Good Man)
>try streaming a 12MB file, regardless of your memory settings, to
>understand my point. your download will end early and you will not get the
>complete file.
I did a test with a 179MB(!) file on my local server - no problems with
a plain readfile(). Memory limit is set to 32MB, PHP 5.2.3. Script
execution and file delivery took about 70s, memory usage was just 1.7MB.
>the function is posted on the manual page for a reason, i personally have
>found it vital, use at your discretion.
Maybe a bug in an older version? The UCN is from 2005.
Micha
[Back to original message]
|