Net_GeoIP::lookupOrg()

Net_GeoIP::lookupOrg() --  returns the name of the organization or ISP for the given IP address.

Synopsis

require_once "Net/GeoIP.php";

string lookupOrg() (string $addr)

Description

This method returns the name of the organization or of the ISP which has registered the IP address range that contains the specified IP address. It works only with a non-free Organization/ISP database.

Parameter

Throws

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