Hello there. Does anyone know something about geo targeting with hostip? I have tried something like this:
<?php $myIP = gethostbyname(trim(`hostname`)); $xmlstring = file_get_contents ( "http://api.hostip.info/?ip=".$myIP); echo $xmlstring; ?>
With this ip: 10.80.27.192 and I receive this message " This is the Hostip Lookup Service hostip inapplicable (Private Address) (Private Address) XX " I am testing my script from localhost with xampp.
Anyone knows why I receive this message?