Re: Turn display_errors on and off

From: Date: Tue, 10 Apr 2001 22:23:26 +0000
Subject: Re: Turn display_errors on and off
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48007@lists.php.net to get a copy of this message
Try this alt solution: whenever you don't want onscreen solution call your functions as: @function_name('adadasd'); and if you want warning call them normally. -elias http://www.kameelah.org/eassoft ""Greig, Euan"" <Euan.Greig@brann.com> wrote in message news:5CEAD14A5163D211A21B0008C7246294015B7E40@ciren-mbx1.BRANN.CO.UK... > I would like to be able to turn on-screen errors on and off selectively within scripts. I have tried using the error_reporting() function but this stops error messages going to the log file, which I want always to happen. It seems to me that I want to set the display_errors configuration option within my scripts. Is this possible, or is there an other way to do what I want? > > TIA > > Euan Greig > Technical Consultant > BRANN DATA > euan.greig@brann.com > 01285 645997 > > > > > > ************************************************************************** > Any opinions expressed in this email are those of the individual and > not necessarily the Company. This email and any files transmitted with > it, including replies and forwarded copies (which may contain alterations) > subsequently transmitted from the Company, are confidential and solely for > the use of the intended recipient. If you are not the intended recipient > or the person responsible for delivering to the intended recipient, be > advised that you have received this email in error and that any use is > strictly prohibited. > > ************************************************************************** > > -- > 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 (#48007) next »