Thursday, June 05, 2008

How do I set the browser timeout?

If your script is too complex to finish within the standard 30 seconds you can set a new value with the function:

set_time_limit(900);

this sets the timeout too 900 seconds / 15 minutes.

No comments: