php exception handling

From: Date: Sun, 11 Oct 2009 21:18:03 +0000
Subject: php exception handling
Groups: php.general 
Request: Send a blank email to php-general+get-298838@lists.php.net to get a copy of this message
Hi, I am trying to make an exception class that emails the errors to myself. I have started by using the example by ask at nilpo dot com on http://dk2.php.net/manual/en/language.exceptions.php. It work ok but i want it NOT to show the errors on the php-page but only show the details in the email and then just write eg "An error occurred" or so on the webpage. Can anyone give me a hint about how to achieve this? Regards Lars Nielsen

« previous php.general (#298838) next »