[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Special website for special country visitors

Posted on 2007-10-05
3
Medium Priority
?
228 Views
Last Modified: 2008-03-06
Hello,

I want to show all visitors from France to see a special website with a promotion on it.  All other visitors should see the normal website.

Does anyone know of a good free PHP script that I could modify to do this?

Thanks!
0
Comment
Question by:hankknight
3 Comments
 
LVL 6

Accepted Solution

by:
nathana21 earned 2000 total points
ID: 20021805
You can use code from this site to detect county >> http://ip-to-country.webhosting.info/node/view/118

then open the web page based on the $country_name variable.
0
 
LVL 20

Expert Comment

by:Gawai
ID: 20024311
0
 
LVL 16

Author Comment

by:hankknight
ID: 20024655
Thank you very much.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 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