Logging them may work better. Thank you

-----Original Message-----
From: Pierre-Alain Joye [mailto:paj@;pearfr.org]
Sent: Thursday, November 07, 2002 1:41 PM
To: Anderson, Jerrad
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning message


On Thu, 7 Nov 2002 13:37:49 -0500
"Anderson, Jerrad" <[EMAIL PROTECTED]> 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

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

Reply via email to