From: <php...@li...> - 2007-04-27 09:39:17
|
Hi again, BTW: > } catch (Exception $e) { > > print_r($e); // for debugging purposes > return "<br>Bad Encryption"; The PHP Exception objects already provide a suitable __toString() method. The output from print($e) is much more readable than the output from print_r($e), which prints the internal state of the exception object. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |