Re: How to silent Error Messages

From: Date: Wed, 23 Oct 2002 10:45:49 +0000
Subject: Re: How to silent Error Messages
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-121057@lists.php.net to get a copy of this message
use error_reporting() function. for no errors set it to '0', for default PHP error reporting level set to '55' and to get them all set to E_ALL | E_NOTICE. --- Maxim Maletsky maxim@php.net www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 Justin French <justin@indent.com.au> wrote... : > Haven't you got fingers or a browser of your own??? I just did a really > simple search for "error" on php.net by typing > http://php.net/error into my > browser. The second search result is a page on error handling. > > With about 10 seconds more digging, I see this line: > > > error_reporting(0); > > > Bingo! The manual does work!! > > > Justin > > > on 23/10/02 7:28 PM, Vivek (deadghost@sify.com) wrote: > > > Hey guys ! > > > > Please tell me how to keep any of the error messages generated by a > > script/mysql while executing the script as the message "Fatal Error" or > > "query Failed" appeares on the output screen and that I don't want to > > do. > > > > Regards, > > Vivek > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#121057) next »