Re: Catch timeouts
| From: | CC Zona | Date: | Tue, 20 Mar 2001 20:44:56 +0000 |
| Subject: | Re: Catch timeouts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44827@lists.php.net to get a copy of this message | ||
In article <998dqa$akd$1@toye.p.sourceforge.net>,
cczona@nospam.invalid (CC Zona) wrote:
> I could have sworn I once saw a function that would check whether the
> script was being cancelled because a timeout had occured, thereby allowing
> you to make a more graceful exit from the script. But now I can't seem to
> locate anything like that in the manual.
Never mind. Found it: connection_timeout() and
register_shutdown_function(). Perfect.
--
CC