Location: PHPKode > scripts > Ban Control > Ban Control/ban_control/include/conn.php
<?php
//Begin Configuration

$host="localhost"; // Host name
$username="demo_db"; // Mysql username
$password="1marwer"; // Mysql password
$db_name="demo_db"; // Database name

//end configuration


// Connect to server and select databse.
$prefix="ban_";
$tbl_name="admin";
mysql_connect("$host", "$username", "$password")or die("cannot connect"); 
mysql_select_db("$db_name")or die("cannot select DB");


$con = mysql_connect("$host", "$username", "$password");
// if (!$con)
//   {
//   die('Could not connect: ' . mysql_error());
//   }


?>
Return current item: Ban Control