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
 

About Maldives Resorts

Members Login
User ID
Password
    Register
Forgot password?

SriLankaWebHosting.com
Just for (Rs.500) $5 per month

Your own domain name, 1GB Space, Unlimited Email Address, Sri Lankan Support & for more info call us.
077-989-5368, 072-829-9077



Terms And Conditions | Link Directory

Join Sri Lanka Banner Exchange | Resources - Free Link Exchange