When using a shared hosting environment where the user has no control of the web server, set_time_limit() might be disabled (in php.ini)
Suggestion: Replace
Code: Select all
set_time_limit(0);
with
Code: Select all
nuSetTimeLimit(0);
Code: Select all
function nuSetTimeLimit(){
if (function_exists('set_time_limit')) {
set_time_limit(0);
}
}