Timeout while waiting for a server->client transfer to start (large files)
- From: barneytramble@xxxxxxxxx ("Barney Tramble")
- Date: Tue, 29 Jan 2008 18:45:35 -0000
Hey
I have a script that I am trying to figure out to allow a remote file to be sent to a client's browser. It works ok for small files, but it keeps timing out for large files. I don't think it should even take as long as it does (i.e. about 10seconds) before it pops up a dialog box for me to download a 700KB file. Any ideas? It times out on a line around which reads
while (!feof($fp))
{
$tmp .= fread($fp, 64);
}
Thanks ;)
.
- Follow-Ups:
- Prev by Date: Re: [PHP] first php class take 2
- Next by Date: Re: [PHP] Using next() inside a foreach
- Previous by thread: Using next() inside a foreach
- Next by thread: Re: [PHP] Timeout while waiting for a server->client transfer to start (large files)
- Index(es):
Relevant Pages
|