(PHP 4 <= 4.0.4)
connection_timeout — 检查脚本是否已超时
检查脚本是否已超时。
如果脚本已超时返回 1,否则返回 0。
该函数已被废弃,从PHP4.0.5起不再存在。
jon at dbgurus dot com dot au (2007-01-24 14:30:10)
In order to prevent my script timing out (I was processing images which was taking some time) I added this into my loop:
set_time_limit(25);
This resets the time limit - in this example giving it another 25 seconds to complete the task.