Hallo Dennis,
habe jetzt folgendes:
<?php
$uip = $_SERVER['SERVER_ADDR'];
$host = gethostbyaddr($uip);
print $host;
?>
Doch wenn ich das Script aufrufe kommt folgendes:
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /xxx/xxx/xxx/test.php on line 3
Ich weis nicht ob ihr mich richtig verstanden habt. Ich möchte, dass dann dort folgendes steht: blablabla.dip.t-dialin.net.