Re: Re: wondering how to catch notice errors properly
| From: | Hans Åhlin | Date: | Sun, 02 May 2010 18:11:02 +0000 |
| Subject: | Re: Re: wondering how to catch notice errors properly | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304848@lists.php.net to get a copy of this message | ||
Thanks for that, it saved me some thinking when I reach the error
handling class with in my project.
**********************************************
Hans Åhlin
Tel: +46761488019
http://www.kronan-net.com/
irc://irc.freenode.net:6667 - TheCoin
**********************************************
2010/5/2 Rene Veerman <rene7705@gmail.com>:
> 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
> ---------------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>