I am looking for full set of IP info like Hostname, reverse dns, IP owner etc.
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$hostname = php_uname('n');
echo "<br>" . $hostname;
echo "<br>" . $ip;
?>
$hostname = php_uname('n');
This is returning my Servers hostname not visitors, hostname. I also need other info, like Reverse DNS , ISP etc
Are there any Free Apis Available for this lookup?
Solutions i considered, How do I retrieve the visitor's ISP through PHP?
Not working now!