troubleshooting Question

change content by visitors ip or geographical location

Avatar of bangers3474
bangers3474 asked on
Web Languages and StandardsJavaScriptPHP
10 Comments1 Solution381 ViewsLast Modified:
Hi I like to achieve something like this:
http://www.sonyericsson.com though much simpler.

When you arrive at the homepage you are given a list of countries to select, though the country you are in is already selected as the default. You could change it if you require to see a site specific to another country but you also have an option to save your country of choice as your preferred option for when you return to the site (a cookie I presume).

I'd like to do the same but far simpler as it is to direct users of a shop to either a us site if resident of us/canada or to an eu site if a memeber of the eu such as a user in the uk.

So I guess what I'm asking for is a script that will understand where a user has come from and change a section of the page to be visible or not based on the result. So show eu flag for eu users or us flag for us users. Also for there to be an option to save the users preference.

I would like this to be achived using php or javascript or at least something that will happily work on a linux/unix server.

Any thoughts?
Regards
Bangers
ASKER CERTIFIED SOLUTION
Joe Wu
Developer | Solutions Architect | CTO

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros