Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2007
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts

    htaccess allow only US visitors

    Hi all,

    I have a site that targets US visitors only and want to block spam. Is there a way to easily block all non US visitors using htaccess by only allowing US visitors without having a thousand lines of code? Thanks.

  • #2
    120
    120 is offline
    Regular Coder
    Join Date
    Nov 2009
    Location
    UK
    Posts
    105
    Thanks
    6
    Thanked 15 Times in 15 Posts

  • Users who have thanked 120 for this post:

    kingtas (05-28-2010)

  • #3
    New Coder
    Join Date
    Nov 2007
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks.


  •  

    Posting Permissions

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