Subject Re: [firebird-php] Problems conecting to Firebird 1.5 with PHP in RedHat 9
Author Kamus
Hi. Thanks for your answer.

Yes i run the script : info.php

<?
phpinfo();
?>


And it works fine. The interbase module is loaded correctly.


>
>
>
>
> 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
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Sponsor
>
>
> ADVERTISEMENT
>
>
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go
> to:http://groups.yahoo.com/group/firebird-php/  To unsubscribe from this group,
> send an email to:firebird-php-unsubscribe@yahoogroups.com  Your use of Yahoo!
> Groups is subject to the Yahoo! Terms of Service.


_____________________________________

Julio Carlos Canaviri C.
e-mail : e18278@...
Linux Registered User #306526
_____________________________________