Bei mir steht auf jeder Seite Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\inc\config.php on line 8
Spoiler anzeigen
<?php
/* MySQL */
$_CONFIG["MySQL"]["Hostname"] = "127.0.0.1";
$_CONFIG["MySQL"]["Username"] = "root";
$_CONFIG["MySQL"]["Password"] = 'MEIN PASSWORT IST HIER';
$_CONFIG["MySQL"]["Database"] = "sabbo";
$mysql_connection = mysql_connect($_CONFIG["MySQL"]["Hostname"], $_CONFIG["MySQL"]["Username"], $_CONFIG["MySQL"]["Password"]);
$mysql_select_db = mysql_select_db($_CONFIG["MySQL"]["Database"], $mysql_connection);
mysql_query("SET NAMES utf8");
if(isset($_SERVER['HTTP_CF_CONNECTING_IP']))
{
$_SERVER['HTTP_X_FORWARDED_FOR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
$_SERVER['HTTP_CLIENT_IP'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
?>