Subject Re: [ib-support] Capturing Interbase Warning messages
Author Ivan Prenosil
> I have designed a database in IB 6and I want to connect it with php 4. I
> would like to know how I can get the interbase warning (not error) messages
> coming from a ibase_connect call with a bad username or password, because i
> don't want the warning to be displayed on the browser (I want to give the
> error message myself).

Either disable error reporting by "@" for single command,
or globally, e.g. by ini_set('display_errors', 0);

$db = @ ibase_pconnect( ... );
if (! $db) {
echo ibase_errmsg();