RE: [PHP] How to detect a PHP script time-out?
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Wed, 08 Jan 2003 03:55:56 +0000 |
| Subject: | RE: [PHP] How to detect a PHP script time-out? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130691@lists.php.net to get a copy of this message | ||
You want a call back method for timeout none avail.
- auto append won't work
- register shutdown won't work
I don't know of another solution right now.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp]
> Sent: Wednesday, 8 January 2003 1:43 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] How to detect a PHP script time-out?
>
>
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>