RE: Warning message

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

 



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: php-db@lists.php.net
Subject: Re:  Warning 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

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux