register_shutdown_function() should do the trick for you...
Zeev
At 22:34 12/3/2001, Nathan Cassano wrote:
>When a client bails out of a http connection and apache shuts down that
>thread process, is there something or a way so that php can call some sort
>of destructor? My problem is if a client bails out right in the middle of a
>financial transaction I need some way of canceling a pending order.
>
>Nathan
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]