Richard Lynch wrote:
adrian zaharia wrote:
Hi,
I am testing the following code that pushes a file to the browser
(Apache 1.3 + PHP 4.3.8 but tested also under several other configs)
Try it with a BIG test1.zip (e.g. 100M in size)
?php
ignore_user_abort();
set_time_limit(0);
adrian zaharia wrote:
while (!feof($oFp)) {
echo fread ($oFp, $iReadBufferSize);
Try http://php.net/flush right here.
}
fclose ($oFp);
exit;
See this:
http://bugs.php.net/bug.php?id=31763edit=2
Is not a bug but they under some configurations they cache the output :(
Perhaps a
adrian zaharia wrote:
Hi,
I am testing the following code that pushes a file to the browser
(Apache 1.3 + PHP 4.3.8 but tested also under several other configs)
Try it with a BIG test1.zip (e.g. 100M in size)
?php
ignore_user_abort();
set_time_limit(0);
session_save_path('/tmp');
Hi,
I am testing the following code that pushes a file to the browser
(Apache 1.3 + PHP 4.3.8 but tested also under several other configs)
Try it with a BIG test1.zip (e.g. 100M in size)
?php
ignore_user_abort();
set_time_limit(0);
session_save_path('/tmp');
session_start();
$sFileName =
4 matches
Mail list logo