Functions

geoip.inc

Function Type Description
geoip_city native Look up the full city name for the given IP address.
geoip_code2 native This function has no description.
geoip_code2_ex native Look up the two character country code for a given IP address.
e.g: "US", "CA", etc.
geoip_code3 native This function has no description.
geoip_code3_ex native Look up the three character country code for a given IP address.
e.g: "USA", "cAN", etc.
geoip_continent_code native This function has no description.
geoip_continent_name native Look up the full continent name for the given IP address.
geoip_country native This function has no description.
geoip_country_ex native Lookup the full country name for the given IP address.
geoip_distance native This function has no description.
geoip_latitude native Look up the city's latitude for the given IP address.
geoip_longitude native Look up the city's longitude for the given IP address.
geoip_region_code native 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 native Look up the full region/state name for the given IP address.
geoip_timezone native Look up the full time zone for the given IP address.
e.g. America/Los_Angeles, Europe/Paris.