Set the page timeout time. Sometimes my page keeps turning because of a network card. Can I set a timeout time for the page, after a long time, the system prompts timeout. For example, set_time_limit (300) in php. I don't think there is a timeout mechanism on the php page. ------ solution: -------------------- isn't set_time_limit () in php?
Set the page timeout time. Sometimes my page keeps turning because of a network card. Can I set a timeout time for the page, after a long time, the system prompts timeout. For example, set_time_limit (300) in php. I don't think there is a timeout mechanism on the php page. ------ solution: -------------------- isn't set_time_limit () in php?
Set page timeout
Sometimes my page keeps turning because of the network card. I wonder if I can set a timeout time for the page. If I don't respond, I will prompt the timeout time.
For example, set_time_limit (300) in php)
I don't think php pages have a timeout mechanism.
------ Solution ----------------------
Php is not set_time_limit () & nbs [this article from the Internet (http://www.68idc.cn)] p;, you can also set max_execution_time in php. ini to change the global timeout.
------ Solution ----------------------
Max_execution_time
------ Solution ----------------------
Set_time_limit (300)
5 minutes later. Unless you execute a large number of programs.
------ Solution ----------------------
Ini_set ('max _ execution_time ', '0'). The value 0 indicates no execution time limit.
We recommend that you do not set it to more than 30 seconds.