loreakasmatzen_docker/data/inc/conexion.php

24 lines
459 B
PHP
Raw Permalink Normal View History

2022-11-09 20:19:30 +01:00
<?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");
?>