geoip_code2

Lookup the two character country code for a given IP address. Sets the buffer to "error" on an unsuccessful lookup.

Syntax

native geoip_code2(const ip[], ccode[3])

Usage

ip The IP address to lookup.

Return

The result length.

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