Subject Re: [firebird-php] Handling errors, warnings, ...
Author Lutz Brückner
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