Display Visitors location on my site? How?

tywebb

Regular Member
Joined
Dec 8, 2008
Messages
226
Reaction score
146
Hi all,

I have seen some sites where I visit them it shows my current location seamlessly integrated into the text of the webpage. You know like on those fake google cash blogs that say mrs x from "city name" has made $5000 a month!

Anyway can someone please point me in the right direction on how to set that up on my site. I want it to display the city location of all the visitors and populate that into my page.

I tried googling for an answer honestly, but i was having trouble coming up with a search string that could get me results.

Thanks!
 
What you will need is a script. A script that will grab their IP.
Once you have their IP it will translate it to the country / city whatever and you just need a small db.
http://webnet77.com/scripts/geo-ip/index.html
This script should help you get started.
 
Back
Top