Answers for "request timeout php"

PHP
0

timeout php

<?php

set_time_limit(20);

while ($i<=10)
{
        echo "i=$i ";
        sleep(100);
        $i++;
}

?>

Output:
i=0 i=1 i=2 i=3 i=4 i=5 i=6 i=7 i=8 i=9 i=10
Posted by: Guest on February-21-2021
0

max_execution_time php

ini_set ( 'max_execution_time', 1200); //1200 is time in secondss
Posted by: Guest on October-29-2020

Browse Popular Code Answers by Language