[PHP-DEV] HTTP Bailout

2001-03-12 Thread Nathan Cassano
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

RE: [PHP-DEV] PHP 4.0 Bug #9253: Class constructors can't return values

2001-02-15 Thread Nathan Cassano
You can return a value from a class constructor. It's just not that obvious. class myclass { function myclass() { if($err){ $this = $err; return; } } } -Original Message- From: [EMAIL PROTE