GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Country Detection (https://gfy.com/showthread.php?t=67387)

Krome 07-09-2002 08:44 PM

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

:helpme

spanky 07-09-2002 09:03 PM

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

Krome 07-09-2002 09:07 PM

Thanks, checking through that now.

hyper 07-09-2002 09:33 PM

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


All times are GMT -7. The time now is 10:25 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123