Res: Firebird Adapter

View: New views
2 Messages — Rating Filter:   Alert me  

Res: Firebird Adapter

by Luiz Fernando-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,

Below a exemple to connect:
Remender, Firebird is a fork of interbase, you must enable php_interbase extension in your php.ini file.

        $options = array(
            Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER
        );

        $this->dbconn = new Zend_Db_Adapter_Firebird(array(
            'host'     => 'localhost',
            'username' => 'sysdba',
            'password' => 'masterkey',
            'dbname'   => 'C:\myDatabase.fdb',
            'charset'  => 'utf-8',
            'options'  => $options
        ));

        $this->dbconn->setFetchMode(Zend_Db::FETCH_ASSOC);


If you found any isssues with this adapter, please mail me.

Best regards,
Luiz Fernando

----- Mensagem original ----
De: Bagus Nugroho <bnugroho@...>
Para: fw-db@...
Enviadas: Quinta-feira, 8 de Maio de 2008 15:02:23
Assunto: [fw-db] Firebird Adapter

Hi,
I have project of ERP of automotive that previously desktop based, and proposed to be web based. Unfortunatelly, it was using firebird database, and I'm confuse to understand what the meaning of :
===================
This Adapter uses the PHP extension php_interbase.
=================
in the manual, can anybody give me a sample how to configure Adapter using php_interbase.
 
 
Thank In Advance
bn


Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!

RE: Firebird Adapter

by Bagus Nugroho-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
It doesn't work,
I think there are no Firebird.php under folder Zend/Db/Adapter, it's mean we have to extends Zend_Db_Adapter_Abstract?
 
Thanks,
bn


From: Luiz Fernando [mailto:kgbfernando@...]
Sent: Jumat 09-Mei-2008 01:11
To: Bagus Nugroho; fw-db@...
Subject: Res: [fw-db] Firebird Adapter

Hi,

Below a exemple to connect:
Remender, Firebird is a fork of interbase, you must enable php_interbase extension in your php.ini file.

        $options = array(
            Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER
        );

        $this->dbconn = new Zend_Db_Adapter_Firebird(array(
            'host'     => 'localhost',
            'username' => 'sysdba',
            'password' => 'masterkey',
            'dbname'   => 'C:\myDatabase.fdb',
            'charset'  => 'utf-8',
            'options'  => $options
        ));

        $this->dbconn->setFetchMode(Zend_Db::FETCH_ASSOC);


If you found any isssues with this adapter, please mail me.

Best regards,
Luiz Fernando

----- Mensagem original ----
De: Bagus Nugroho <bnugroho@...>
Para: fw-db@...
Enviadas: Quinta-feira, 8 de Maio de 2008 15:02:23
Assunto: [fw-db] Firebird Adapter

Hi,
I have project of ERP of automotive that previously desktop based, and proposed to be web based. Unfortunatelly, it was using firebird database, and I'm confuse to understand what the meaning of :
===================
This Adapter uses the PHP extension php_interbase.
=================
in the manual, can anybody give me a sample how to configure Adapter using php_interbase.
 
 
Thank In Advance
bn


Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!