PDA

View Full Version : Find ISP of visitor using Javascript



wasifk007
08-29-2011, 10:55 AM
Hello,
I have recently started a website which tells visitor's IP address, location and others details. I want to add some more functions to it. I found no way to detect visitors Internet Service Provider (ISP) using PHP. I would like to know if there is any way to do so in Javascript.

Click the below link to view the site:

Show IP (http://www.show-ip.org)

Please help me ASAP.

Regards,
Wasif K.

Philip M
08-29-2011, 11:05 AM
<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo $hostname;
?>

Not possible to do this in Javascript.


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.