You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
325 B

<?
// OLD CODE DATABASE SHIT
include ("../settings.php");
$db_host = $cfg_server;
$db_user = $cfg_username;
$db_pwd = $cfg_password;
$database = $cfg_database;
if (!mysql_connect($db_host, $db_user, $db_pwd))
die("Can't connect to database");
if (!mysql_select_db($database))
die("Can't select database");
?>