mirror of
https://github.com/php/php-src.git
synced 2024-10-13 12:32:38 +00:00
9a22911392
Thies C. Arntzen will look into this to actually make it work, as I don't have Oracle installed here. As I said, it is only a framework for Oracle, and it will most likely crash if you actually try to use the oracle functions before Thies (or anyone else that wants to, of course) has had a chance to look at it. # The other databases will continue to work, of course :)
54 lines
1.3 KiB
OpenEdge ABL
54 lines
1.3 KiB
OpenEdge ABL
<?php
|
|
$connection = DBX_MYSQL;
|
|
switch ($connection) {
|
|
case DBX_MYSQL:
|
|
$module=DBX_MYSQL;
|
|
$host="";
|
|
$database="dbx_test";
|
|
$username="dbx_testuser";
|
|
$password="dbx_testpassword";
|
|
$module_name="mysql";
|
|
break;
|
|
case DBX_MSSQL:
|
|
$module=DBX_MSSQL;
|
|
$host="HOLLY";
|
|
$database="dbx_test";
|
|
$username="";
|
|
$password="";
|
|
$module_name="mssql";
|
|
break;
|
|
case DBX_ODBC:
|
|
$module=DBX_ODBC;
|
|
$host="localhost";
|
|
$database="dbx_test_mysql"; // "dbx_test_access";
|
|
$username="dbx_testuser";
|
|
$password="dbx_testpassword";
|
|
$module_name="odbc";
|
|
break;
|
|
case DBX_PGSQL:
|
|
$module=DBX_PGSQL;
|
|
$host="";
|
|
$database="dbx_test";
|
|
$username="dbx_testuser";
|
|
$password="dbx_testpassword";
|
|
$module_name="pgsql";
|
|
break;
|
|
case DBX_FBSQL:
|
|
$module=DBX_FBSQL;
|
|
$host="";
|
|
$database="dbx_test";
|
|
$username="dbx_testuser";
|
|
$password="dbx_testpassword";
|
|
$module_name="fbsql";
|
|
break;
|
|
case DBX_OCI8:
|
|
$module=DBX_OCI8;
|
|
$host="";
|
|
$database="dbx_test";
|
|
$username="dbx_testuser";
|
|
$password="dbx_testpassword";
|
|
$module_name="oci8";
|
|
break;
|
|
}
|
|
|
|
?> |