How can I track the IP address of visitors to my personal site?

I have a blog.

Update:

my "host" is www.blogger.com , so I'ld need something external that can be plopped into my HTML. Sorry for not being explicit before.

6 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    It is very easy to do if you are using PHP, I have been doing this for my online resume for years.

    Rename your file from something like "file.html" to "file.php", and then put in the following code:

    <?php$fp = fopen("hits", "a");

    fwrite($fp, date("y/m/d H:i") . " " . $REMOTE_ADDR . "\n");

    fclose($fp);

    ?>

    This will make a file called "hits", and whenever anyone opens this file it will record the date and their IP address in the file.

  • 1 decade ago

    You can if your web host provider provides web stats software. You might be able to find some free utilities on the internet. Do a search on website statistics freeware.

    http://www.handlethetruth.net/

  • 1 decade ago

    check to see if your hosting service has a stats software running on there machine, they sometimes come with a way to track IP addresses. or else give this site ago

    http://aruljohn.com/track.pl

  • 1 decade ago

    IP Tracker works great.

  • How do you think about the answers? You can sign in to vote the answer.
  • pappy
    Lv 6
    1 decade ago

    There is a html for that purpose on www.piczo.com

    but why would you want to?

  • Anonymous
    5 years ago

    i would like to know that too.

Still have questions? Get your answers by asking now.