Re: How do I squelch warnings (without editing php.ini)?

From: Date: Mon, 15 Sep 2003 18:04:00 +0000
Subject: Re: How do I squelch warnings (without editing php.ini)?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162646@lists.php.net to get a copy of this message
From: "Dan Anderson" <dan@mathjunkies.com> > I am running a script that occasionally utters a few warnings when the > user does something dumb (but it does not kill the script). Is there a > way to turn off warnings within a script? I really don't want my users > to see them. Short of fixing your code, adjust the error_reporting() level. us2.php.net/error_reporting ---John Holmes...

« previous php.general (#162646) next »