Und zwar hab diesen Fehler wenn ich auf meine HP gehe.
Code:
Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /var/customers/webs/ni183496_1/hp1/index.php on line 15 Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /var/customers/webs/ni183496_1/hp1/index.php on line 16 Sorry, it could not connect to server be prepared.
Code:
<?PHP if(!file_exists('./inc/config.inc.php')) { header('Location: install.php'); } session_name("m2hp"); session_start(); require("./inc/config.inc.php"); require("./inc/rights.inc.php"); require("./inc/functions.inc.php"); $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS); $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS); if(!is_resource($sqlServ) OR !is_resource($sqlHp)) { exit("Sorry, it could not connect to server be prepared."); } require("./inc/head.inc.php"); echo '<?xml version="1.0"?>'; ?>