Skip to content

Instantly share code, notes, and snippets.

View denser's full-sized avatar

Denser denser

View GitHub Profile
<?
define('ORA_CHARSET_DEFAULT', 'SPANISH_SPAIN.AL32UTF8');
define('ORA_CONNECTION_TYPE_DEFAULT', 1);
define('ORA_CONNECTION_TYPE_PERSISTENT', 2);
define('ORA_CONNECTION_TYPE_NEW', 3);
define('ORA_MESSAGES_NOT_CONNECTED', 'Not connected to Oracle instance');
class ORACLE {
private static $_instance;
private $conn_handle;