Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -57,12 +57,12 @@ if ($action == 'anmeld') {
|
||||
$ip = getenv("REMOTE_ADDR");
|
||||
$agent = getenv("HTTP_USER_AGENT");
|
||||
$user_admin = $row['user'];
|
||||
# $url = "http://anonymouse.org/cgi-bin/anon-www_de.cgi/http://www.whois-api.com/?$ip";
|
||||
# $url = "https://anonymouse.org/cgi-bin/anon-www_de.cgi/https://www.whois-api.com/?$ip";
|
||||
# $xml = @simplexml_load_file($url);
|
||||
# $isp = $xml->isp;
|
||||
# $host = gethostbyaddr($ip);
|
||||
# $organisation = $xml->organization;
|
||||
$url=file_get_contents("http://anonymouse.org/cgi-bin/anon-www_de.cgi/http://whatismyipaddress.com/ip/$ip");
|
||||
$url=file_get_contents("https://anonymouse.org/cgi-bin/anon-www_de.cgi/https://whatismyipaddress.com/ip/$ip");
|
||||
preg_match_all('/<th>(.*?)<\/th><td>(.*?)<\/td>/s',$url,$output,PREG_SET_ORDER);
|
||||
$isp=$output[4][2];
|
||||
$host=$output[2][2];
|
||||
|
Reference in New Issue
Block a user