Subject Re: [firebird-support] Web - interface
Author matteo@euronia.it
On 20 May 2005 at 14:06, Christian wrote:

> > I use from 4 year's ago adodb like layer to connect to database + php +
> > apache
> > all is affidable and secure my experience said this.
> >
> > adodb -> http://adodb.sourceforge.net/
>
>
> I successfully connect for the first time to firebird :-) .
> But is this the correct way (with the php interbase extension) or exists
> there a special extension for firebird?
>
> <?php
>
> include('adodb/adodb.inc.php');
> $db = ADONewConnection('ibase');
> $db->PConnect('host:c:\temp\db.fdb','sysdba','masterkey');
>
> $rs = $db->Execute('select * from table1');
> ?>
hello i use it:

<?
ADOLoadCode('firebird');
$db = &ADONewConnection();
$db->PConnect('/home/db.fdb', 'SYSDBA', 'masterkey');


?>