Re: Warning message
| From: | Pierre-Alain Joye | Date: | Thu, 07 Nov 2002 18:41:26 +0000 |
| Subject: | Re: Warning message | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23106@lists.php.net to get a copy of this message | ||
On Thu, 7 Nov 2002 13:37:49 -0500
"Anderson, Jerrad" <jerrad.anderson@teds.com> wrote:
> I'm using PHP on apache that's sitting on a Windows 2k server. When I
> don't define a variable i'm getting a warning message on the screen..
> anyway to suppress these errors?
>
>
> Warning: Undefined variable: yaddayaddaydaadda
You may better to fix all warnings/errors instead of hiding them :-)
Changes the error reporting level (see error_reporting()
in the manual).
Nota Bene: If you need to hide php messages in your production
environment, you may disable output messages in php.ini, and log them.
hth
pa