Re: [PHP] using headers to download a file takes too long

2004-08-05 Thread Curt Zirzow
* Thus wrote Mark Cooke: > Hi, > > I'm writing a few scripts that allows users to download files, > some around 45MB+. > ... > I've tried using readfile and fread, to access the files, yet both seem > to take the same amount of time, it would seem like they are getting > buffered, or maybe read

[PHP] using headers to download a file takes too long

2004-08-05 Thread Mark Cooke
Hi, I'm writing a few scripts that allows users to download files, some around 45MB+. The files are stored outside the webroot, for security reasons, so when the user clicks on the link, this called my downloadFile.php script, this script accesses the requested files, using the path relative to t