Quote:
Originally Posted by imported_silkroad
This is a nice mod, but wouldn't it be both more accurate and more "updated" to simply use use mod_geoip for Apache2 and install the free MaxMind GeoIP database which is (claimed to be) 99.5% accurate at the country level?
Then the code could be much more simple, to simply match the white list (or black list) vB options country code with the country code from a very simple Apache2 mod_geoip function:
Code:
$_SERVER['GEOIP_COUNTRY_CODE']
|
Sure this would be great.. You would not happen to know how to do this on a shared server would you?