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 — Überprüft, ob das Skript den Timeout erreicht hat
Beschreibung
int connection_timeout
( void
)
Überprüft, ob das Skript den Timeout erreicht hat.
Rückgabewerte
Gibt 1 zurück, falls das Skript den Timeout erreicht hat, und andernfalls 0.
Anmerkungen
Warnung
Veraltet
Diese Funktion ist veraltet und existiert seit 4.0.5 nicht mehr.
Siehe auch
- connection_status() - Liefert den Verbindungsstatus als Bitfeld
- Die Verbindungssteuerung mit einer kompletten Beschreibung der Verbindungssteuerung in PHP.
connection_timeout
jon at dbgurus dot com dot au
24-Jan-2007 10:30
24-Jan-2007 10:30
