<?php
/*************************************
* config.php
*************************************/
session_start();
$online=2;//1=online,2=offline
if($online==1)
{
$dbhost = 'localhost';
$dbname = ' db_name ';
$dbuser = 'root';
$dbpasswd = 'pass';
}
else if($online==2)
{
$dbhost = 'localhost';
$dbname = 'db_name';
$dbuser = 'root';
$dbpasswd = '';
}
?>
0 comments:
Post a Comment
Thanks for your valuable Comment