Hi Friends, i develop a webpage in PHP , in that i call a webservice [DotNet] . That service accept two parameters and store the details of the page in to database[For each user the data's deleted].For each user i need to store data . while i use while loop , it shows "".Fatal error: Maximum execution time of 100 seconds exceeded.." Is there any optimization for this ? Please help me to do this . Thanks in advance .
+3
A:
Set max_execution_time = value in your php.ini file or use theset_time_limit(0) function within your PHP code
James
2009-10-08 11:31:15
It goes long time , But i don't get what i except
Sakthivel
2009-10-08 12:40:58
What do you expect? Maybe the reason it is taking so long to execute is because it hasn't been designed properly and is doing more processing than necessary.
James
2009-10-08 13:08:19
Ofcourse , that webservice can login in to a webpage and scrap the details of that webpage and extract the information and store it into database , this will applicable for each user stored in database
Sakthivel
2009-10-08 15:00:46
A:
Maybe this will help:
if(!ini_set("max_execution_time", 0))
{
throw new Exception("Failed to set execution time");
}
Stops script from timing out.
Lizard
2009-10-08 11:44:19