Re: How to detect a PHP script time-out?
| From: | Greg Beaver | Date: | Wed, 08 Jan 2003 05:08:09 +0000 |
| Subject: | Re: How to detect a PHP script time-out? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130697@lists.php.net to get a copy of this message | ||
Hi Jean-Christian,
see:
http://www.php.net/manual/en/features.connection-handling.php
Take care,
Greg
--
phpDocumentor
http://www.phpdoc.org
"Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message
news:3E1B9E4B.7000904@mega-bucks.co.jp...
> 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
>