RE: [PHP] Oracle error messages
| From: | Greig, Euan | Date: | Tue, 13 Mar 2001 14:24:47 +0000 |
| Subject: | RE: [PHP] Oracle error messages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43663@lists.php.net to get a copy of this message | ||
To suppress the error messages on a single command, you can put an @ in front of it, eg:
@$conn=ora_plogon(...
-----Original Message-----
From: Hardy Merrill [mailto:merrill@missioncriticallinux.com]
Sent: 13 March 2001 13:43
To: Rudolf Visagie
Cc: php-general@lists.php.net
Subject: Re: [PHP] Oracle error messages
Rudolf Visagie [Rudolf@qedi.co.za] wrote:
> Hi All,
>
> Does anybody have an idea how to stop the automatic error and warning
> messages from the Oracle data base being displayed on the screen. I want to
> do my own error message display but by the time I get the error message
> using OCIError it was already displayed on the screen anyway.
In your php.ini file, you want to set "display_errors = Off", and
"log_errors = On".
>
> Rudolf Visagie
> rudolf@qedi.co.za
>
>
> --
> 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
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
**************************************************************************
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.
**************************************************************************