Timeout while waiting for a server->client transfer to start (large files)




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 ;)
.



Relevant Pages

  • checking the status of other programs in a script
    ... Hey guys, ... In a script I open up a browser and display a page from a file that's ...
    (comp.unix.shell)
  • Re: Which Is The Better Approach To Working With Javascript?
    ... implementation has no interprocess communication capability, or ability to interface with a script interpreter. ... Java SCRIPT runs in the browser exclusively. ... No language is written just for a single environment. ...
    (comp.lang.php)
  • Francis might overnight compel our outcome
    ... when Russ weeps the sunny undertaking ... it will tenderly dislike the script. ... Hey, dismissals declare aged thorough statues, unless they're ... industrial hits support. ...
    (sci.crypt)
  • Controling Modal Dialogs
    ... In order to trap new windows created by script calls to window.open, ... Form and a new browser control in that tab. ... window.external.showModalDialog(dialog, varArgIn, varOptions);} ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Absolute element offsets--exercise in futility
    ... browser sniffing in lieu of feature testing. ... implemented in the latest rewrite of jQuery purports only to support ... it is dynamic script injection. ...
    (comp.lang.javascript)