"12", "178.63.40.133" => "11", "178.63.25.145" => "10", "213.239.220.140" => "9", "213.239.220.139" => "8", "213.239.220.138" => "7", "213.239.220.137" => "6", "213.239.220.136" => "5", "213.239.220.135" => "4", "213.239.220.134" => "3", "213.239.220.133" => "2", "212.227.132.59" => "1"); $webserver_num = $ips[$_SERVER["SERVER_ADDR"]]; if (!$webserver_num) { $webserver_num = 10; }*/ $webserver_num = 1; if (!$mysqlloaded) { /* $errfile = "/var/www/hosted/earthlost.de/db.health"; if (file_exists($errfile)) { $_GET["err"] = 1000; if (!$dont_error) require ("error.php"); }*/ $mysqlloaded = 1; if (!$unidb) $unidb = 'uni1'; /* $sqlhost = "db.earthlost.de"; $sqlhost2 = "1und1.earthlost.de";*/ $compression['central'] = 1; $sqlhosts['uni1'] = "saturn"; $sqlhosts['uni2'] = "saturn"; $sqlhosts['uni3'] = "saturn"; $sqlhosts['uni4'] = "saturn"; $sqlhosts['uni1_extra'] = "saturn"; $sqlhosts['uni2_extra'] = "saturn"; $sqlhosts['uni3_extra'] = "saturn"; $sqlhosts['uni4_extra'] = "saturn"; $sqlhosts['central'] = "saturn"; $sqlhosts['logging'] = "saturn"; $sqlhosts['msg'] = "saturn"; $sqlhosts['balancer'] = "saturn"; $sqlhosts['cache'] = "saturn"; $sqlhosts['forum'] = "saturn"; $sqlhosts['mail'] = "saturn"; $sqlhosts['faq'] = "saturn"; $sqlhosts['ideen'] = "saturn"; $sqlhosts['admin'] = "saturn"; $sqlhosts['debug'] = "saturn"; $sqlhosts['ads'] = "saturn"; $sqlhosts['data'] = "saturn"; $mayskipdb['logging'] = 1; $mayskipdb['forum'] = 1; $mayskipdb['mail'] = 1; $mayskipdb['ads'] = 1; sandBoxDBHosts(); if ($webserver_num >= 2) { foreach ($sqlhosts as $n=>$h) { if (($h != "erde") && ($h != "janus") && ($h != "atlas") && ($h != "titan") && ($h != "saturn") && ($h != "saturn") && ($h != "saturn")) { $sqlhosts[$n].= "_loc"; } $compression[$n] = 1; } } else { foreach ($sqlhosts as $n=>$h) { $compression[$n] = 0; } } $sqlhost = $sqlhosts['central']; require("universe_manager.php"); $sqlname = "earthlost_dummy"; $sqlnames['uni1'] = 'earthlost_uni1'; $sqlnames['uni2'] = 'earthlost_uni2'; $sqlnames['uni3'] = 'earthlost_uni3'; $sqlnames['uni4'] = 'earthlost_uni4'; $sqlnames['uni1_extra'] = 'earthlost_uni1_extra'; $sqlnames['uni2_extra'] = 'earthlost_uni2_extra'; $sqlnames['uni3_extra'] = 'earthlost_uni3_extra'; $sqlnames['uni4_extra'] = 'earthlost_uni4_extra'; $sqlnames['central'] = 'earthlost_central'; $sqlnames['logging'] = 'earthlost_log'; $sqlnames['msg'] = 'earthlost_msg'; $sqlnames['balancer'] = 'uptime'; $sqlnames['cache'] = 'earthlost_cache'; $sqlnames['forum'] = "earthlost_forum_v3"; $sqlnames['mail'] = 'earthlost_mail'; $sqlnames['faq'] = 'earthlost_faq'; $sqlnames['ideen'] = 'earthlost_ideen'; $sqlnames['admin'] = 'earthlost_admin'; $sqlnames['debug'] = 'earthlost_debug'; $sqlnames['ads'] = 'earthlost_ads'; $sqlnames['data'] = 'earthlost_data'; sandBoxSQLNames(); // $sqluser = "kookadoo"; // $sqlpwd = "koo34pwd04"; $sqluser = "root"; $sqlpwd = "313348"; $geodbname = "opengeodb"; $forumsqlhost = "erde"; $forumsqluser = "kookadoo"; $forumsqlpwd = "koo34pwd04"; $forumsqlname = "earthlost_forum_v3"; $forumuserstable = "phpbb_users"; $connections = array(); $servernames = array("uni1" => "Jupiter", "uni2" => "Saturn", "uni3" => "Pluto", "uni4" => "Mars", "uni1_extra" => "Kallisto", "uni2_extra" => "Rhea", "uni3_extra" => "Charon", "uni4_extra" => "Phobos", "central" => "Erde", "logging" => "Mond", "msg" => "Venus", "cache" => "Hubble-Teleskop", "forum" => "Forum", "mail" => "Mail", "balancer" => "Da Vinci", "faq" => "Merkur", "ideen" => "Tethys", "admin" => "Cassandra", "debug" => "Titan", "ads" => "Himalia", "data" => "Thebe" ); require_once("mysql_safe.php"); function requireConnection($name) { global $sqlhosts, $sqluser, $sqlpwd, $connections, $sqlnames, $mayskipdb; if (extension_loaded('apc')) { if (apc_fetch('db_restart')) { $_GET["err"] = 6000; require ("error.php"); } } /*if ($name == 'uni3') { $_GET["err"] = 5001; require ("error.php"); }*/ if (!$connections[$name]) { sql_debug('SUCHE VERBINDUNG', "$name", 0, ''); foreach ($connections as $n=>$c) { if ($sqlhosts[$n] == $sqlhosts[$name]) { $connections[$name] = $c; sql_debug('VERBINDUNG GEFUNDEN', "$n", 0, ''); return ; } } if ($sqlhosts[$name]) { $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; safe_mysql_connect($sqlhosts[$name], $sqluser, $sqlpwd, $name); $mtime2 = microtime(); $mtime2 = explode(" ",$mtime2); $mtime2 = $mtime2[1] + $mtime2[0]; $millis = round(($mtime2-$mtime)*1000, 2); sql_debug('NEUE VERBINDUNG', $sqlhosts[$name], $millis, ''); } } } requireConnection("central"); } ?>
Spieler online
keine Daten verfügbar









Serverstatus
Engine 1 (Startseite + Forum)unbekannt
Engine 10unbekannt
Engine 11unbekannt
Datenbanken
Performance
keine Daten verfügbar
keine Daten verfügbar