Re: Downloading Large (100M+) Files
| From: | Curt Zirzow | Date: | Thu, 04 Nov 2004 19:29:47 +0000 |
| Subject: | Re: Downloading Large (100M+) Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201210@lists.php.net to get a copy of this message | ||
* Thus wrote Robin Getz:
> Klaus Reimer [k@ailis.de] wrote:
> >If this theory is true, you may try fpassthru().
>
> 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?
Curt
--
Quoth the Raven, "Nevermore."