Subject Re: [firebird-php] Problems conecting to Firebird 1.5 with PHP in RedHat 9
Author Lester Caine
Kamus wrote:

Have you tried
<? phpinfo(); />

Just to check interbase module is loaded, it should show connection to
active server.

> <?
>
> // Script: listar.php
>
> $host = "localhost:/opt/firebird/examples/employee.fdb";
> $usuario = "sysdba";
> $password = "masterkey";
> $conexion = ibase_connect($host,$usuario,$password);
echo ibase_errmsg();
> $sql = "select * from country";
> $resultado = ibase_query($sql);
> while ($fila = ibase_fetch_row($resultado)) {
> echo $fila[0].' '.$fila[1].'<br />';
> }
>
> ?>

This should give a hint as to the problem.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services