geoip_country

Lookup the full country name for the given IP address. Sets the buffer to "error" on an unsuccessful lookup.

Syntax

native geoip_country(const ip[], result[], len = 45)

Usage

ip The IP address to lookup.
result The result of the geoip lookup.
len The maximum length of the result buffer.

Return

The — result length.

Defined in geoip.inc at line 91 . This documentation was automatically generated from source.