PHP Classes

File: vendor/b12phpfw/Dbconn_allsites_oracle.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   vendor/b12phpfw/Dbconn_allsites_oracle.php   Download  
File: vendor/b12phpfw/Dbconn_allsites_oracle.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of vendor/b12phpfw/Dbconn_allsites_oracle.php
Date: 1 year ago
Size: 1,137 bytes
 

Contents

Class file image Download
<?php
//J:\awww\www\vendor\b12phpfw\Dbconn_allsites_oracle.php
return [ //'1'
  
null
  
, 'oci'
  
//, getenv('USERDOMAIN',true)?:getenv('USERDOMAIN').'/XE:pooled;charset=UTF8'
   //, getenv('USERDOMAIN').'/XE:pooled;charset=UTF8'
  
, 'dev1:1521/XE:pooled;charset=UTF8'
  
, 'hr', 'hr', 'hr'] ;

/* //////////// old :
// J:\awww\www\b12phpfw\Dbconn_ allsites_oracle.php
// to be copied to J:\awww\www\b12phpfw\Dbconn_ allsites.php
// single access point to our database (singleton class).
namespace B12phpfw\core\b12phpfw ;
//use PDO;
//abstract = Cls or Method for inheritance to avoid code redundancy, not to cre obj

*/
      //WORKING ALL THREE : (getenv('USERDOMAIN') does not work for MySql !!)
      //,'host'=>getenv('USERDOMAIN',true)?:getenv('USERDOMAIN').'/XE:pooled;charset=UTF8'
      //,'host'=>'sspc2/XE:pooled;charset=UTF8'
      //,'host'=>'localhost/XE:pooled;charset=UTF8'
      //
      // Safely get the value of an environment variable, ignoring whether
      // or not it was set by a SAPI or has been changed with putenv
      //$ip = getenv('REMOTE_ADDR', true) ?: getenv('REMOTE_ADDR')