Re: error NOTICE

From: Date: Sat, 12 Jul 2003 12:30:44 +0000
Subject: Re: error NOTICE
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-11271@lists.php.net to get a copy of this message
Marco Mastrorilli wrote: > -Notice: Use of undefined constant data...... > -Notice: Use of undefined constant mail....... > -Undefined variable........ > > Why in my scripts i always get error notice like this? > How can i solve this problem? See <http://it.php.net/error_reporting> and <http://it.php.net/manual/en/ref.errorfunc.php#ini.error-reporting>. In short: either define (set) your constants and variables before you use (read) them, or turn off reporting of E_NOTICE messages: error_reporting(E_ALL &~ E_NOTICE); Or in php.ini: error_reporting = E_ALL & ~E_NOTICE Regards... Michael

« previous php.install (#11271) next »