Login   Register  
PHP Classes
elePHPant
Icontem

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Kabindra Bakey  >  PHP Database Handler class  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Database Config Holder
Class: PHP Database Handler class
Access MySQL database records using parameters
Author: By
Last change:
Date: 2013-03-07 09:45
Size: 387 bytes
 

Contents

Class file image Download
<?php

/**
 * @author Kabindra Bakey
 * @copyright 2011
 */

    //minified config.
    
session_start();
    require(
'Database.php');

    
$config['server']    = "localhost";
    
$config['username']    = "root";
    
$config['password']    = "";
    
$config['database']    = "mgmt";    

    
DBHandler::Connect($config['server'], $config['database'], $config['username'], $config['password']);

?>