Default TemplateGreen TemplateBlue TemplateRed TemplateGold TemplateBlue Gloss Template
Article Categories

Mycities Network
PHP Scripts Examples and Tutorials
Maximum execution time in PHP

Monday Nov 05, 2007
Solution for script time out. Some time back I had problems when I am uploading files, when I am doing some big process bla bla bla always PHP gives a message "PHP Fatal error: Maximum execution time of xx seconds exceeded".

OK, then I was starting to search and I did many things, but for me the good solution was: adding a small line to top of the script

set_time_limit(0);

0 sets no time limit, else the number is the number of seconds the
script is permitted to execute before failing with this error.

Please comment....

Source: SafSoft



Comments : What do you think about this news?
No Comments yet.

POST COMMENT
Name
Message
  Post will be visible after admins approval
 
Members Login
User ID
Password
    Register
Forgot password?

Sri Lanka Toolbar
Listen to live Sri Lanka Radio, Watch Sri Lanka TV, Search Sri Lanka, Search Google, Sri Lanka New
Download Sri Lanka Toolbar FREE



Terms And Conditions | Link Directory

Join Sri Lanka Banner Exchange | Resources - Free Link Exchange