connection_timeout

(PHP 4 <= 4.0.4)

connection_timeoutCheck if the script timed out

Beskrivelse

int connection_timeout ( void )

Determines whether the script timed out.

Returnerings Værdier

Returns 1 if the script timed out, 0 otherwise.

Noter

Advarsel

Deprecated

This function is deprecated, and doesn't even exist anymore as of 4.0.5.

Se også

add a note add a note

User Contributed Notes 1 note

up
-2
jon at dbgurus dot com dot au
17 years ago
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.
To Top