Lijoyx Posted June 28, 2008 Share Posted June 28, 2008 hi folks, i am trying to extract data from an xml file and update a mysql file using the extracted data. but the xml file is a hugeone. after 30 second i get an error saying. "Fatal error: Maximum execution time of 30 seconds exceeded in E:\wamp\www\xml test\indexx.php on line 40" is there any way to solve this problem. Link to comment https://forums.phpfreaks.com/topic/112310-solved-timeout-error/ Share on other sites More sharing options...
ratcateme Posted June 28, 2008 Share Posted June 28, 2008 you can change the script time limit to 0 like this <?php set_time_limit(0); ?> add that to the top and your script wont timeout Scott. Link to comment https://forums.phpfreaks.com/topic/112310-solved-timeout-error/#findComment-576612 Share on other sites More sharing options...
Lijoyx Posted June 28, 2008 Author Share Posted June 28, 2008 thanks buddy it solve the problem Link to comment https://forums.phpfreaks.com/topic/112310-solved-timeout-error/#findComment-576614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.