SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Dec 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Only show website to visitors within a certain state in the USA.

    How would I go about this, I want the site completely blocked if a person is outside of North Carolina.
    I intend to later only disallow registration outside of North Carolina, but for now while it is in beta I need a way to block the entire site.

    Suggestions?

  2. #2
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Take a look at what Maxmind's geolite lookup by IP can do for you. I have used Country, but maybe city will be good enough for you. There is an open source version.

    This is not and can never be bulletproof, but might help you focus down by cities.

    Not sure if that helps you.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •