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.
connection_timeout
(PHP 4 <= 4.0.4)
connection_timeout — スクリプトがタイムアウトしたかどうかを調べる
説明
int connection_timeout
( void
)
スクリプトがタイムアウトしたかどうかを調べます。
返り値
スクリプトがタイムアウトした場合に 1、それ以外の場合に 0 を返します。
注意
警告
過去の関数
この関数は過去のものであり、4.0.5 以降には存在しません。
connection_timeout
jon at dbgurus dot com dot au
24-Jan-2007 02:30
24-Jan-2007 02:30
