Net_GeoIP::lookupCountryName() (Previous) (Next) Net_GeoIP::lookupRegion()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_GeoIP::lookupCountryCode()

Net_GeoIP::lookupCountryCode() --  returns 2-letter country code (e.g. << CA >>) for specified IP address

Paramètres

  • string $addr - IP address

    Note : Hostnames are not supported. More information.

Valeurs renvoyées

This method throws an exception if the IP address is invalid or if the database type is incorrect.

Net_GeoIP::lookupCountryName() (Previous) (Next) Net_GeoIP::lookupRegion()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.