PHP Set page timeout time resolution, PHP timeout
Sometimes my page because the network card, will always go, I think it is possible to set a time-out page, how long did not respond to prompt timeout
Like Set_time_limit in PHP (300)
I don't think it's a PHP page with a timeout mechanism.
------to solve the idea----------------------
PHP is not set_time_limit (), you can also set the php.ini in the Max_execution_time to change the global time-out.
------to solve the idea----------------------
Max_execution_time
------to solve the idea----------------------
Set_time_limit (300)
Card 5 minutes, a little big. Unless you are doing a lot of programs.
------to solve the idea----------------------
Ini_set (' max_execution_time ', ' 0 '), and a value of 0 indicates no execution time limit.
It is recommended not to exceed 30 seconds.
The above content is very short, easy to solve the PHP settings page time-out, I hope this article is helpful to everyone.
http://www.bkjia.com/PHPjc/1057469.html www.bkjia.com true http://www.bkjia.com/PHPjc/1057469.html techarticle PHP Set page timeout time resolution, PHP Time out sometimes my page because the network card, will always go, I think it is possible to set a time-out page, how long did not respond to mention ...