I got a problem with a script that takes sometime to execute. Its a fileuploader. If i try to upload a small file it works fine but a larger file will make the script timeout.
Anyway
I got access to a server running in safemode (its a webhotell) and are now looking for some alternatives to set_time_limit(0);. Unfortenately i cant change the php.inf settings and either increase the default values or turn off safemode.
In asp i can set the timelimit like this
Server.ScriptTimeout = 60*100
This one is only relevant for the script OR function thats executed. Which means that i can use that timeout for a single function.
If there is no way to solve this i'd say that php i useless in filehandling situations
Please help!