Geekpedia Programming Tutorials






How do I change the timeout limit for my PHP code?

On Sunday, November 11th 2007 at 12:51 AM
By Andrew Pociu (View Profile)
-----   (Rated 0 with 0 votes)
Advertisement
More PHP Resources

If you would like to overwrite the script execution timeout limit defined in php.ini, you can do that directly from your PHP code using the following line:

// Set it to no-limit
set_time_limit(0);

Of course you can as well set it to any time limit in seconds. The default time limit is 30 seconds.

Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this Knowledge Base article
Comment Current Comments
There are no comments.

Comment Comment on this Knowledge Base article
Name: Email:
Message:
Knowledge Base Related Knowledge Base Articles
There are no related KB articles.

Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs PHP Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons