« Return to Thread: Res: Firebird Adapter

Res: Firebird Adapter

by Luiz Fernando-4 :: Rate this Message:

Reply to Author | View in Thread

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!

 « Return to Thread: Res: Firebird Adapter

LightInTheBox - Buy quality products at wholesale price