Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veewee/zend_db_adapter_pdo_odbc_openedge


https://github.com/veewee/zend_db_adapter_pdo_odbc_openedge

Last synced: 21 days ago
JSON representation

Awesome Lists containing this project

README

        

Zend_Db_Adapter_Pdo_Odbc_Openedge
=================================
Connect to a Progress database with an OpenEdge ODBC connection.
This classes require to enable the PHP PDO extension on your server.

Configuration in INI file:

resources.db.adapter = pdo_odbc_openedge
resources.db.params.driver = "{Progress OpenEdge 10.2B driver}"
resources.db.params.host = "localhost"
resources.db.params.username = "username"
resources.db.params.password = "password"
resources.db.params.dbname = "dbname"
resources.db.params.port = "1234"
resources.db.params.schema = "pub"
resources.db.params.charset = "iso8859-1"

Initialisation in Bootstrap:
bootstrap('db');
$db = $this->getResource('db');
Zend_Db_Table_Abstract::setDefaultAdapter($db);
return $db;
}
?>