note 34988 deleted from function.fread by vincent
| From: | vincent@php.net | Date: | Thu, 14 Aug 2003 08:40:27 +0000 |
| Subject: | note 34988 deleted from function.fread by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54136@lists.php.net to get a copy of this message | ||
Note Submitter: matschek.spam@gmx.de
----
I had a working download-function using fread().
"Suddendy" it stopped working for large files, it caused a very huge memory and CPU usage,
and the client did not get the file.
It took me hours to find out that i added a "ini_set('session.use_trans_sid',
1);" meanwhile, and so PHP buffered ALL the output (in my case ~MB...) and parsed it again
before sending it to the client to add the SID...
So be aware while using transparent SID...
Matschek