Re: Downloading Large (100M+) Files
| From: | Robin Getz | Date: | Thu, 04 Nov 2004 21:50:40 +0000 |
| Subject: | Re: Downloading Large (100M+) Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-201229@lists.php.net to get a copy of this message | ||
Curt Zirzow [php-general@zirzow.dyndns.org] wrote:
replaced: readfile($name); with: $fp = fopen($name, 'rb'); fpassthru($fp); The only difference between readfile() and fpassthru() is what parameters you pass it. Something else is the problem, what version of php are you running?I am using php 4.2.2 OK - I lied. The same problem exists with fpassthru (now that I have let it run a little longer) I now have 5 sleeping httpd processes on my system that are consuming 200Meg each. Any thoughts?