PHP Classes

File: vendor/b12phpfw/conn_dbi_obj.php

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

Contents

Class file image Download
<?php
// J:\awww\www\zinc\conn_mysql\conn_dbi_obj.php
// We may change $pp1->dbi_obj on any lower level (site, groupof modules, module)
$pp1->dbi_obj = (object)[
        
'db_new_instance'=>'db_new_instance' //'' or 'db_new_instance' or '1'
      
, 'dbi'=>'mysql'
      
//, 'host'=>getenv('USERDOMAIN',true)?:getenv('USERDOMAIN') //sspc2 not allowed !!
      
, 'host'=>'localhost'
      
, 'dbnm'=>'cmsakram','user'=>'root', 'pass'=>''] ; //cmsakram or tema...