Archived Boards and Threads... > SMF Feedback and Discussion

php script time limit 90 sec - downloading bigger files problem

(1/2) > >>

gafai:
I detected with support of my webhosting, that php script is limited to 90 seconds.
SMF downloading is based on php scripts
therefore when i want download bigger files (up to 100MB) with less download speed php script is stoped by server after 90 seconds and download full file is unavailable.....

How to patch download system of smf?

Any ideas.. or solution?
Thanks

K@:
If I've understood you correctly, which I somehow doubt, I would say that you need to speak with your host, again. Tell them that they have a php.ini file which they can change, for you, to put this right.

If I've understood you correctly...

gafai:
Yes you understand... but they will not change it... i talk with them about it....  Another solution?

K@:
Other than changing host, none that I know of.

Of course, I could be wrong.

Thantos:
AFAIK file uploads don't count against the scripts execution time as PHP isn't fired off until the uploads (and thus the request) are complete.  From http://php.net/manual/en/features.file-upload.php I see that there is a max_input_time configuration setting that can be set.  However, that is something that has to be done at an ini or .htaccess level and can't be done via the script (since it hasn't started yet).

Navigation

[0] Message Index

[#] Next page

Go to full version