Re: wondering how to catch notice errors properly
| From: | Rene Veerman | Date: | Sat, 01 May 2010 23:21:04 +0000 |
| Subject: | Re: wondering how to catch notice errors properly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304834@lists.php.net to get a copy of this message | ||
On Sun, May 2, 2010 at 1:06 AM, Rene Veerman <rene7705@gmail.com> wrote:
> I have an custom error handler that i initialize as such;
>
> error_reporting(E_ALL);
> $oldError_handler = set_error_handler("nonFatalErrorHandler");
>
> with this, notices are still displayed as single line visible html.
> i'd like to catch the notices and push them into a db.
> any ideas on how i do that?
>
http://www.codeunit.co.za/2009/09/09/php-how-to-catch-a-script-warning-or-notice/
has the answer :)
> --
> ---------------------------------
> Greetings from Rene7705,
>
> My free open source webcomponents:
> http://code.google.com/u/rene7705/
> http://mediabeez.ws/downloads (and demos)
>
> http://www.facebook.com/rene7705
> ---------------------------------
>
--
---------------------------------
Greetings from Rene7705,
My free open source webcomponents:
http://code.google.com/u/rene7705/
http://mediabeez.ws/downloads (and demos)
http://www.facebook.com/rene7705
---------------------------------