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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can put a @ in front of you function. Example
>
> <?
> @function("Test");
> ?>
> -----Original Message-----
> From: Greg Donald [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 3:05 PM
> To: [EMAIL PROTECTED]; 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]