geoip_code2_ex

Look up the two character country code for a given IP address. e.g: "US", "CA", etc.

Syntax

native bool:geoip_code2_ex(const ip[], result[3])

Usage

ip The IP address to lookup.

Return

true — on a successful lookup, false on a failed lookup.

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