FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Never log deprecation warnings
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Never log deprecation warnings [message #179033 is a reply to message #179031] Thu, 06 September 2012 13:10 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/6/2012 5:51 AM, Jonathan Stein wrote:
> Hi.
>
> Does anyone have an idea about how to never log deprecation warnings -
> even if the code alters error_reporting?
>
> I'm thinking about setting "php_flag log_errors off" in .htaccess to
> block all error logging, but I would prefer to log real errors.
>
> (And no, avoiding deprecated functions is not an option in this case).
>
> Regards
>
> Jonathan

Get rid of the code causing the deprecated warnings.

They're there for a reason. If you ignore them now, your code will
break when you (or your host) upgrades PHP and the functions you're
using are no longer supported.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how format one date
Next Topic: Problem with PHP Driver Authentication
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 18:30:41 GMT 2024

Total time taken to generate the page: 0.04197 seconds