Subversion Repositories svnkaklik

Rev

Go to most recent revision | Blame | Last modification | View Log | Download

<?
/* database info, or include a config.php file
a config file would just contain the info from $db_host through the mysql_select_db ... )); */
$db_host = 'localhost'; #change to your host
$db_user = 'chaosdell'; #change to your user name
$db_password = 'sesvul'; #change to your password
$db_name = 'phpchat'; #change to your db name

mysql_connect($db_host,$db_user,$db_password) or die(mysql_error()); 
mysql_select_db($db_name) or die(mysql_error());
?>