24 lines
459 B
PHP
24 lines
459 B
PHP
|
<?php
|
||
|
|
||
|
$dbhost = "localhost";
|
||
|
$db = "loreak_asmatzen2";
|
||
|
$dbuser = "loreak";
|
||
|
$dbpass = "4sm4tz3n2019!";
|
||
|
|
||
|
/*if ($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']=="overalia-7ce1c1")
|
||
|
{
|
||
|
$dbhost = "localhost";
|
||
|
$dbuser = "loreak_asmatzen";
|
||
|
$dbpass = "asmatzen";
|
||
|
|
||
|
}*/
|
||
|
|
||
|
|
||
|
//$link = mysql_connect($dbhost,$dbuser,$dbpass);
|
||
|
//$bd = mysql_select_db($db,$link);
|
||
|
|
||
|
$mysqli = new mysqli('db', 'loreak', '1234567890', 'loreak');
|
||
|
$mysqli->set_charset("utf8");
|
||
|
|
||
|
?>
|