List of functions in geoip.inc

Function Description
geoip_code2_ex
Look up the two character country code for a given IP address.
e.g: "US", "CA", etc.
geoip_code3_ex
Look up the three character country code for a given IP address.
e.g: "USA", "cAN", etc.
geoip_code2
Lookup the two character country code for a given IP address. Sets the buffer to "error" on
an unsuccessful lookup.
geoip_code3
Lookup the three character country code for a given IP address. Sets the buffer to "error" on
an unsuccessful lookup.
geoip_country
Lookup the full country name for the given IP address.  Sets the buffer to "error" on
an unsuccessful lookup.
geoip_city
Look up the full city name for the given IP address.
geoip_region_code
Look up the region/state code for the given IP address.
e.g. "US-OH", "DE-HH", IT-82, "FR-U", etc.
geoip_region_name
Look up the full region/state name for the given IP address.
geoip_timezone
Look up the full time zone for the given IP address.
e.g. America/Los_Angeles, Europe/Paris.
geoip_latitude
Look up the city's latitude for the given IP address.
geoip_longitude
Look up the city's longitude for the given IP address.
geoip_distance
Calculate the distance between geographical coordinates, latitude and longitude.
geoip_continent_code
Look up the continent code for a given IP address.
geoip_continent_name
Look up the full continent name for the given IP address.
geoip_country_ex
Lookup the full country name for the given IP address.