Re: Register_Shutdown_Function happens before shutdown
| From: | Brian Moon | Date: | Tue, 19 Jun 2001 02:20:01 +0000 |
| Subject: | Re: Register_Shutdown_Function happens before shutdown | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-57038@lists.php.net to get a copy of this message | ||
PHP lives inside the connection and content delivery area of Apache.
Therefore, all code is parsed while the connection is open. You must have
some bad HTML design however if you can not see your page until after all
that is done.
Brian Moon
----------------------------------------------------------------------
dealnews.com, Inc.
Makers of dealnews, dealmac
http://dealnews.com/ | http://dealmac.com/
----- Original Message -----
From: "Brian Tanner" <btanner@home.com>
To: <php-dev@lists.php.net>
Sent: Monday, June 18, 2001 8:15 PM
Subject: [PHP-DEV] Register_Shutdown_Function happens before shutdown
> In theory (at least IMHO), this function should be used to register
> functions to finish up after the client has detached from the server.
>
> This way, time consuming tasks like logging, closing connections, sending
> e-mail, or whatever can be done *after* the client is happily surfing to
> their next page.
>
> However, I have tested Register_Shutdown_Function as much as I can
locally,
> and no matter what I try... I have to wait until my shutdown functions are
> done before I see the page, get redirected, or whatever.
>
> This is bug or a feature? Or am I a dummy?
>
> -Brian Tanner
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>