Subject | Re: [firebird-php] Handling errors, warnings, ... |
---|---|
Author | Lutz Brückner |
Post date | 2004-04-07T17:50:26Z |
constantijnw wrote:
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
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
> Is there a way suppressing displaying warnings other then configuringYou can turn error_reporting off, see
> php.ini?
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?If you are using php5 ibase_set_event_handler() is the best solution,
> Any suggestions for tutorials on this topic?
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