Re: How to detect a PHP script time-out?

From: Date: Wed, 08 Jan 2003 03:43:07 +0000
Subject: Re: How to detect a PHP script time-out?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-130690@lists.php.net to get a copy of this message
Timothy Hitchens ) wrote:
Set up output buffering on your page then if the page times out the buffer should be sent to the browser and that is loaded with your message.
Ok. Is there another solution? The reason I ask is that in order to use your solution I would need to redesign my pages (quite a few of them). I was hoping to be able to do something like this: if (timeout()) include("try_again.html"); Thanks, Jc

« previous php.general (#130690) next »