
PK 
<?php
ob_start();
error_reporting(0);
if($_SERVER['HTTP_HOST']=='127.0.0.1' || $_SERVER['HTTP_HOST']=='192.168.1.18' || $_SERVER['HTTP_HOST']=='localhost')
{
$host_name = "localhost";
$host_user = "root";
$host_pass = "";
$host_db = "jeffharris";
}
else
{
$host_name = "localhost";
$host_user = "vettri_demo_user";
$host_pass = "Admin_123!@#";
$host_db = "demo_vettri";
}
//define('BASE_URL','http://demoprojects.info/Projects/jeff1/');
$connect = mysql_connect($host_name,$host_user,$host_pass)or die("Could not connect: ".mysql_error());
$db = mysql_select_db($host_db);
/* if($db)
{
echo "yes";
}
else
{
echo "not inserted";
} */
/* $con=mysql_query("
CREATE TABLE `jeff_banner` (
`id` int(11) NOT NULL auto_increment,
`image` varchar(255) NOT NULL,
`current_time` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`status` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
)
");
if($con)
{
echo "inserted";
}
else
{
echo "not inserted";
} */
/* $con=mysql_query("DROP TABLE jeff_settings");
//$con=mysql_query("TRUNCATE cric_player_playing");
//ALTER TABLE `jeff_settings` ADD `status` TEXT NOT NULL AFTER `address` ;
if($con)
{
echo "inserteeed";
}
else
{
echo "not inserted1";
} */
?>


PK 99