How to handle Oracle Error Messsages?
| From: | David Munsey-Kano | Date: | Wed, 01 Mar 2000 16:34:18 +0000 |
| Subject: | How to handle Oracle Error Messsages? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11260@lists.php.net to get a copy of this message | ||
Hi!
I am using the oci* interfaces of php to access Oracle. There are times
when I get an ugly oracle error message in my web page, such as when an
invalid query was used in a search dialog (I am using ConText).
How can I trap these error messages and display something friendly and
application-specific instead? Are there any plans to add exception
handling to php?
Thanks, David
P.S. I am using the beta, but I suppose this is a php general question
as well. Please let me know if there is a better list for asking this
question.
--
David Munsey-Kano
Dartmouth College
(603) 646-1320
Murphy was a liar, not a lawyer!