PHP Classes

File: fwphp/01mater/fw_popel/dbconn_params.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/fw_popel/dbconn_params.php  >  Download  
File: fwphp/01mater/fw_popel/dbconn_params.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:
Date: 3 months ago
Size: 675 bytes


Class file image Download
// J:\awww\www\fwphp\01mater\fw_popel\dbconn_params.php see J:\awww\www\zinc\Dbconn_allsites.php
// Is required in trait Db_allsites
//$conn_params =
// list( self::$do_pgntion, self::$dbi, self::$db_hostname, self::$db_name
// , self::$db_username, self::$db_userpwd)
// = require __DIR__ . '/dbconn_params.php'; // not r equire_ once !!
return [ null, 'mysql', 'localhost', 'z_blogcms', 'root', ''] ;

//$connStr = 'oci:host=sspc1;dbname=sspc1/XE';
//$connStr = 'oci:host=sspc1;dbname=sspc1/XE:pooled;charset=UTF8';
//$user = 'mercedes';
//$pass = 'm1';
//$connStr = 'sqlite:/www/hosts/localhost/pdo.db';
//$connStr = 'pgsql:host=localhost dbname=cars';

For more information send a message to info at phpclasses dot org.