Jump to content

Big Script Times out


Mateobus

Recommended Posts

It could be many different things, one being it takes longer than the set time limit for any script execution. You can control that by setting the time limit to (0)! But that will not help if your script has errors or maybe is stuck in a never ending loop! Anyway to let the script run until it is done use...

[code]// place at the top of your script!

ignore_user_abort ( 'true' );
set_time_limit ( 0 );[/code]



me!
Link to comment
https://forums.phpfreaks.com/topic/23306-big-script-times-out/#findComment-105685
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.