Subject Re: [firebird-php] Handling errors, warnings, ...
Author cwfs
Thanks very much Lutz. Now I understand why the book I consulted didn't address error-handling: the php manual does. BTW, I'm struggling with a safe login procedure, just to work with your terrific ibwebadmin app safely.
----- Original Message -----
From: Lutz Brückner
To: firebird-php@yahoogroups.com
Sent: Wednesday, April 07, 2004 7:50 PM
Subject: Re: [firebird-php] Handling errors, warnings, ...


constantijnw wrote:

> Is there a way suppressing displaying warnings other then configuring
> php.ini?

You can turn error_reporting off, see
http://de.php.net/manual/en/function.error-reporting.php

or you can define an error-handler which is called on warnings and
errors, see http://de.php.net/manual/en/function.set-error-handler.php

> In other words, how do I handle these kind of exceptions properly?
> Any suggestions for tutorials on this topic?

If you are using php5 ibase_set_event_handler() is the best solution,
see http://de.php.net/manual/en/function.ibase-set-event-handler.php

hth, Lutz

--
web based Firebird and InterBase administration: http://ibwebadmin.sf.net


------------------------------------------------------------------------------
Yahoo! Groups Links

a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/

b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]