PHP Classes

File: config.php

Recommend this page to a friend!
  Packages 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: 13 years ago
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']);

?>