Example database file, like all others using a database for me

This commit is contained in:
alopexc0de 2012-11-22 15:23:23 -05:00
parent 94dbcb409d
commit ec0e951dfe

12
short/dbsettings.php Normal file
View File

@ -0,0 +1,12 @@
<?php
//This is for all login requests to mysql
$host=""; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name=""; // Database name
$tbl_name=""; // Table name
// Connect to server and select database.
mysql_connect("$host", "$username", "$password")or die("Unable to connect to database server - check dbsettings.php");
mysql_select_db("$db_name")or die("Unable to connect to database - check dbsettings.php");
?>