Re: Re: wondering how to catch notice errors properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> On Sun, May 2, 2010 at 1:06 AM, Rene Veerman <rene7705@xxxxxxxxx> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux