oracle error handling

admin

Administrator
Staff member
Hi, I have a Oracle 8i with php3 web application...and I need to hide the annoying error messages Oracle retuns...like this:

Warning: OCISessionBegin: ORA-01017: invalid username/password; logon denied in /usr/local/apache/htdocs/admin/error.php on line 5

what can I do to capture the error code and message so they won't be printed on the php page?

Thanks in advance...

cavas
 
Back
Top