How I can know the Domain for an IP by PHP?
I have used this code
<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo $hostname;
?>
But it doesn't work correctly. For example:
gethostbyaddr(62.75.138.253);
domain name is earthwar.de but the correctly answer is german-proxy.de
Please help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…