Web Analytics Made Easy -
StatCounter Find ISP of visitor using Javascript - CodingForum

Announcement

Collapse
No announcement yet.

Find ISP of visitor using Javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Find ISP of visitor using Javascript

    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

    Please help me ASAP.

    Regards,
    Wasif K.

  • #2
    PHP Code:
    <?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.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

    Comment

    Working...
    X