Subject | Re: [ib-support] Capturing Interbase Warning messages |
---|---|
Author | Ivan Prenosil |
Post date | 2001-05-31T14:02:10Z |
> I have designed a database in IB 6and I want to connect it with php 4. IEither disable error reporting by "@" for single command,
> 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).
or globally, e.g. by ini_set('display_errors', 0);
$db = @ ibase_pconnect( ... );
if (! $db) {
echo ibase_errmsg();
...
}
Ivan
prenosil@...
http://www.volny.cz/iprenosil/interbase