HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR


geoip_country()
  GeoIP country match.
  
  Usage: geoip_country(country_codes, allow=True,
                       db="/usr/share/GeoIP/GeoIP.dat")
  
  Where: country_codes is a list of allowed/denied countries.
           Use upper case country names only!
         allow is an boolean, which defines if countries should
           be allowed or denied
         db is a full pathname to GeoIP.dat file
  
  Example: geoip_country(["SK"])
  
  New in version 1.3.1.