$db_host = "localhost:3306"; $db_name = "un348028_kit"; $db_user = "un348028_kit"; $db_pass = "pVr94PEj36z"; $GLOBALS ['www_dir'] = 'public_html'; # Web site's home directory $GLOBALS ['auth_type'] = "form"; $GLOBALS ['secret'] = md5 ( "*?%24890785;_*?%fjeOuirpwFJL9423849853^#(" );# Secret summ $GLOBALS ['include_folder'] = preg_replace ( "/" .$GLOBALS ['www_dir'] . "$/", '', $_SERVER ['DOCUMENT_ROOT'] ); $GLOBALS['upload_dir'] = '/upload'; $GLOBALS ['admin_multilang'] = false; $GLOBALS ['admin_deflang'] = 'ru'; ini_set('magic_quotes_gpc', 'Off'); ini_set('memory_limit', '100M'); $link = mysqli_connect('localhost:3306', 'un348028_kit', 'pVr94PEj36z'); mysqli_query($link, "SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'"); ?>
Could not connect: Access denied for user ''@'localhost' (using password: NO)