|
works great except for the timeout issue. If the file is over 1GB, it canA frequent approach to this problem is to have a proxy instance in front of the server running the scripts. The proxy server is contacted with the request, the proxy server requests the file from the script, the whole file is transferred fast to the proxyserver and the script finishes, and the proxy server slowly serves out the result to the requester.
take a while for the download to complete. I am trying to avoid
configuring PHP and Apache to allow scripts to run for hours before a
timeout occurs, but I would like to allow this one script to (basically)
run indefinitely. While not ideal, it is certainly better than making it
possible for any PHP script on the server to run indefinitely.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.