Hello friends...

I got one error ,when my login page is loading...
Fatal error:maximum execution time of 30 seconds exceeded in ../../../login.php

What would i do for preventing this..
Thanks in Advance.
Shanti..

php.ini has a value to set the maximum execution time. In the .ini, it's max_execution_time. For your script, it would be set_time_limit ($seconds).

Although if you have an execution time of over 30 seconds, you might have a problem with your script somewhere.

Using set_time_limit(0) in your script will make the maximum execution time to 'infinity'. This usually happens if you are processing large number of data or if one of the loop in your script has failed..

thanks for your replies...

And is there any coding tips to avoid this problem
or
generally any coding tips to load our page fastly...
Tel me any ideas if you have...
thanks in advance...

Don't have such a big page. Seriously, if you have a page needing more than 30 sec. to load, it's just gotta be way too bulky.

This question has already been answered. Start a new discussion instead.