Re: Downloading Large (100M+) Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Thus wrote Robin Getz:
> Klaus Reimer [k@xxxxxxxx] 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux