Re: How to turn off warnings ???

From: Date: Tue, 24 Apr 2001 00:22:28 +0000
Subject: Re: How to turn off warnings ???
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-49968@lists.php.net to get a copy of this message
And just thought I'd add in that you should _almost_ never allow a warning to be sent in your script as it's just begging for something to go wrong without you knowing why. And for your reading enjoyment (if you call reading about errors enjoyable...which I of course, do): http://www.php.net/manual/en/features.error-handling.php -- Plutarck Should be working on something... ...but forgot what it was. "Brandon Orther" <orther@webintellects.com> wrote in message news:OMEBIHJGKOODOFLBFDJFOEGNCDAA.orther@webintellects.com... > You can put a @ in front of you function. Example > > <? > @function("Test"); > ?> > -----Original Message----- > From: Greg Donald [mailto:greg@destiney.com] > Sent: Monday, April 23, 2001 3:05 PM > To: roee@irubin.com; Php-General > Subject: RE: [PHP] How to turn off warnings ??? > > > > > I am a newbie to PHP and I am trying to get a number of scripts to work. > > > > 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? > > > > Any help would be appreciated. > > The manual details the settings for the php.ini here: > http://www.php.net/manual/en/configuration.php > > You may want to alter your error reporting level there, or at the top of > each script as needed. > > ------------------------------------------------------------------------ > destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common > internet addict, 3. lover of late 80's heavy metal music, 4. Activist > for the terminally un-elite; see also - cool guy, des, mr. php... > > It's 4:00am, your web site is still up, why are you? > http://phplinks.org/ http://destiney.com/ > ------------------------------------------------------------------------ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#49968) next »