PHP: connection_timeout - Manual

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, 26 Jan 2007

view this page in

# connection_timeout

(PHP 3 >= 3.0.7, PHP 4 <= 4.0.4)

connection_timeout -- Return `TRUE` if script timed out

## Description

bool connection_timeout ( void )

Returns `TRUE` if script timed out.

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

See the Connection Handling description in the Features chapter for a complete explanation.

See also connection_status().

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

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST