Login   Register  
PHP Classes

File: dbconfig.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ahmad Samiei  >  Mysqli Essential DB Class  >  dbconfig.php  >  Download  
File: dbconfig.php
Role: Configuration script
Content type: text/plain
Description: Db access configuration
Class: Mysqli Essential DB Class
MySQL database access wrapper using MySQLi
Author: By
Last change:
Date: 4 years ago
Size: 944 bytes


Class file image Download
 Mysqli Essential DB Class
 Version 1.0 Essential
 Copyright (C) 2010 Ahmad Samiei iPixar.com
 License: GPL
 This is your essential mysqli database class. fast and easy to use
 also I share 'Mysqli Advanced DB Class' very soon as possible
 enjoy with PHP5

    // database config
global $dbprefix,$dbname,$dbserver,$dbuname,$dbpasswd,$dberrormsg// global scope variable
$dbname ='testDB'// database name
$dbprefix ='pre_'// tables prefix. also can be empty
$dbserver ='localhost'// connection server. localhost for default local usage
$dbuname 'root'// database username. root for default local usage
$dbpasswd ''// database password. null for default local usage
$dberrormsg=''// db connection error message. unset in develope mode