Pike v8.0 release 1738

Method Geography.GeoIP.IP()->from_ip()


Method from_ip

mixed from_ip(string ip)

Description

Returns the geographical location of the given ip address ip. When this object has been created using one of the standard parsing functions the locations are instances of Geography.Countries.Country.