-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconexion.php
More file actions
24 lines (17 loc) · 900 Bytes
/
conexion.php
File metadata and controls
24 lines (17 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?PHP
$lcServer = $_SERVER['SERVER_NAME'];
$db_host = 'localhost'; // mySQL host
$db_name = 'vocshop_4data'; // mySQL database name
$db_user = 'root'; // mySQL user
$db_pass = ''; // mySQL password
$home = "Index.wml#menu";
// Language settings // Change english.php to your language file
$language = 'english.php'; // placed in lang folder
// Poll graphics // Change to 1 for graphical poll results
$pollgraphics = 0; // note that not all Wap devices can display
// graphics correctly
$conexion = mysql_connect($db_host, $db_user, $db_pass)
or die("Could not connect");
mysql_select_db($db_name)
or die("Could not select database");
?>