Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
aschwarz
2023-04-26 14:01:34 +02:00
parent dd253ca7e9
commit 1d0d52f302
355 changed files with 1004 additions and 1004 deletions

View File

@ -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];