# Ip and location tracker

**URL:** <https://forum.kirupa.com/t/ip-and-location-tracker/327847>\
**Category:** Uncategorized\
**Created:** [March 31, 2012, 9:31pm UTC](https://forum.kirupa.com/t/ip-and-location-tracker/327847 "2012-03-31T21:31:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_Reed](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Jeremy\_Reed](https://forum.kirupa.com/u/Jeremy_Reed)\
**Post date:** [March 31, 2012, 9:31pm UTC](https://forum.kirupa.com/t/ip-and-location-tracker/327847/1 "2012-03-31T21:31:51Z")

</div>

i know a little php and i’ve used mysql to an extent.

i’d like to make a script that automatically adds visitors ip’s to a database. (if they already visited then it ignores their ips) and then displays a list on the website of locations that have visited the website. (united states, japan, etc) kind of like youtubes viewers by country.

where should i start? is there a tutorial somewhere that’ll make this easier or has someone already supplied a open source script for this?

thanks for any help
