mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
11 lines
212 B
PHP
11 lines
212 B
PHP
<?php
|
|
$dbhost = 'localhost';
|
|
$dbuser = 'root';
|
|
$dbpass = 'password';
|
|
$conn = mysql_connect($dbhost, $dbuser, $dbpass);
|
|
if(! $conn )
|
|
{
|
|
die('Could not connect: ' . mysql_error());
|
|
}
|
|
mysql_select_db('maxbans');
|
|
?>
|