The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

constant> <connection_status
[edit] Last updated: Sat, 12 May 2012

view this page in

connection_timeout

(PHP 4 <= 4.0.4)

connection_timeoutCheck if the script timed out

Description

int connection_timeout ( void )

Determines whether the script timed out.

Return Values

Returns 1 if the script timed out, 0 otherwise.

Notes

Warning

Deprecated

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

See Also



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

 
show source | credits | sitemap | contact | advertising | mirror sites