?
Solved

Blocking visitors according to country

Posted on 2012-03-26
3
Medium Priority
?
226 Views
Last Modified: 2012-04-05
Hi,

I'm trying to direct users to antoher site or block them completly if they are trying to access my site from outside the UK.  I see this on sites like amazon or itunes, where they know from which country you are accessing their site.  

Can anyone help me out on this?

Regards,
Anthony
0
Comment
Question by:anthonytr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37765090
you can use thier ip address
0
 

Author Comment

by:anthonytr
ID: 37765095
how?
0
 
LVL 30

Accepted Solution

by:
IanTh earned 2000 total points
ID: 37765099
0

Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question