PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

constant> <connection_status
Last updated: Fri, 22 Aug 2008

view this page in

connection_timeout

(PHP 4 <= 4.0.4)

connection_timeoutVerificar si el script ha alcanzado su tiempo de espera máximo

Descripción

int connection_timeout ( void )

Determina si el script ha alcanzado su tiempo de espera máximo.

Valores retornados

Devuelve 1 si el script ha alcanzado su tiempo de espera máximo, 0 de lo contrario.

Notes

Warning

Obsoleta

Esta función se considera obsoleta, y no existe siquiera a partir de 4.0.5.

Ver también



add a note add a note User Contributed Notes
connection_timeout
jon at dbgurus dot com dot au
24-Jan-2007 11:30
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.

constant> <connection_status
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites