View Single Post
Old 03-15-2007, 11:50 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
another way if you want to do fun things in PHP or some other script:

in .htaccess

SetEnvIfNoCase GEOIP_COUNTRY_CODE "^RU$" BadBoy=1
SetEnvIfNoCase GEOIP_COUNTRY_CODE "^UA$" BadBoy=1
##add any other country code to ban

then in a php script:
if($_SERVER['BadBoy']==1) {
//do something with the bad boy ruskies
}else{
//we're not banned
}
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote