|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jul 2001
Location: London - UK
Posts: 2,851
|
Country Detection
Does anyone know of, or can anyone write a script that will detect if the surfer is coming from an English speaking , Spanish speaking, French speaking or German speaking country. If you can or know of one that already exists that would be great.
Thanks Krome ![]() |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
http://www.geo-ip.com/
I haven't used it but it looks cool. Cheap database updates with apis for c, java, perl, python, php, etc. They even have a simple little apache module that sets enviroment variables. cheers |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jul 2001
Location: London - UK
Posts: 2,851
|
Thanks, checking through that now.
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
or you can setup your .htaccess
deny from 211 allow from all error document 403 http://www.dialer.com blocks everyone from (211.) korea i believe it is and gives them a 403 code then you redirect them with a custom error 403 less work |
|
|
|