1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

'you are in this city' script

Discussion in 'HTML & JavaScript' started by 19w08, Nov 24, 2008.

  1. 19w08

    19w08 Guest

    Hi members,

    Looking for a while for a script that i can use in my new website.

    I want to have a script that can say for instance ' hi you live near New York' or something, depending of the IP.

    Any suggestions? Much appreciated.

  2. WickednDivine

    WickednDivine Executive VIP Premium Member

    Jul 29, 2008
    Likes Received:
  3. gimme4free

    gimme4free Executive VIP Premium Member

    Oct 22, 2008
    Likes Received:
    You can get them little images that tell people their ip address and hostname, no idea how they work but Im sure theres loads of custom ones out there, most people have them as their forum signatures
  4. tekg0r

    tekg0r Junior Member

    Nov 9, 2008
    Likes Received:
    you need an IP to State/City database. These can be had for about $30, though some people offer them for free if you ask nicely.

    Keep in mind these are FAR from precise. We use a fairly expensive paid version that while the DB works alot of the time, it is far from comprehensive. ISPs are also lazy giving IPs out and will often give people in nearby towns / cities IPs that do not reflect where they come from.
  5. 19w08

    19w08 Guest

    Hi guys, thanks for all the kind replies here!

    @ Pollfactory
    Yeah that was what i was looking for, however, i have to look in this further if i can integrate this properly.

    @ Gimme4free
    Good tip here. Have to check this out ;)

    @ tekg0r
    Thanks for your kind reply. Have to check this out too. If i come up with something ill let you know how it worked out.

    Thanks guys for your time, gl all!