Re: [PHP] Sessions memory allocation problem

2005-01-31 Thread adrian zaharia
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);

Re: [PHP] Sessions memory allocation problem

2005-01-31 Thread Richard Lynch
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

Re: [PHP] Sessions memory allocation problem

2005-01-30 Thread Richard Lynch
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');

[PHP] Sessions memory allocation problem

2005-01-29 Thread adrian zaharia
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 =