Re: How to turn off warnings ???

From: Date: Wed, 25 Apr 2001 11:28:57 +0000
Subject: Re: How to turn off warnings ???
Groups: php.general 
Request: Send a blank email to php-general+get-50273@lists.php.net to get a copy of this message
::-----Original Message----- ::From: Christian Reiniger [mailto:creinig@mayn.de] ::Sent: Tuesday, April 24, 2001 12:57 AM ::To: Php-General ::Subject: Re: [PHP] How to turn off warnings ??? :: :: ::On Monday 23 April 2001 23:50, Roee Rubin wrote: ::> Whenever I try to execute some code I receive 'warnings', that ::> basically clutter up the screen. Since I am assuming that these are not ::> fatal - is there any way to turn them off? :: ::Warnings are not fatal as such, but they often give hints that you have a ::bug somewhere. Correct your code. :: ::-- ::Christian Reiniger ::LGDC Webmaster (http://sunsite.dk/lgdc/) :: ::...10001000110101011010101101011110111010113...???? :: Hello, I too am a novice and have the same problems with "warning: undefined variable" or "undefined index" when I have display errors 'on'. The scripts work fine and I have reg_globals 'off' (I've been following that thread closely as well!) . How critical are these warnings? Is it overenthusiam on php's error tracking? You say to 'correct the code' and I believe you, but what should I do? I want my code to be as clean as possible. I've been enlightened to A LOT of things in the short time I've been on this list and any input is greatly appreciated!! tia, ahmad

« previous php.general (#50273) next »