Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we increase the execution time of a PHP script?

Answer Posted / anonymous

Using the funtion set_time_limit().It sets the number of
seconds a script is allowed to run .If this is reached
script returns a fatal error.The default limit is 30
seconds .If seconds is set to zero
no time limit is imposed.When called , set_time_limit()
restarts the timeout counter from zero.If the timeout is
the default 30 seconds,and 25 seconds into script execution
a call such as set_time_limit(20)
is made,the script will run for a total of 45 seconds
before timing out.

Is This Answer Correct ?    27 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you send email in php?

931


Tell me is it possible to protect special characters in a query string?

865


Which php mvc framework is best?

985


Difference between $message vs. $$Message in php.

952


What does $_server means?

929


Why does php start with variables?

971


What is php mean?

998


What is the use of @ in php?

1002


Which software is best for php?

961


What is rtrim php?

973


How can we display the output directly to the browser?

938


Swap two variables value without using third variable in php ?

1022


What are session variables in php?

968


Which function Returns the time of sunrise for a given day / location in PHP.

1045


What was the old name of php?

1368