ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

detect state from ip address?

October 21, 2008 2:02am

Subscribe [2]
  • #1 / Oct 21, 2008 2:02am

    fogcity

    260 posts

    has anyone extended the IP-To-Country module to provide a state, and maybe a city, from the visitor’s ip address?

    would like to tailor site content to the visitor’s state.

  • #2 / Oct 21, 2008 2:21am

    Derek Jones

    7561 posts

    The accuracy there is going to be an issue as large ISPs route traffic through a concentrator that may not be physically local to them at all.  When I was on Comcast internet that was certainly the case, but now that I’m on Wildblue satellite internet, my IP isn’t anywhere near my actual location.  Best bet would be to let the user provide their location to you if you want accurate local content.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases