Script :
<?phpif ($_SERVER["HTTP_X_FORWARDED_FOR"]) { $httpvia = "".$_SERVER["HTTP_VIA"].""; $pisah = explode(" ", $httpvia); $muncul = "$pisah[1]"; echo "$muncul ".$_SERVER['REMOTE_ADDR']." ".$_SERVER["HTTP_X_FORWARDED_FOR"].""; } else { $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo "".$_SERVER['REMOTE_ADDR']." ($hostname)"; }?>
Atau Download berbagai Contoh Script Di Sini