geoip_org_by_name()
geoip_org_by_name - Get the organization name
Syntax
string geoip_org_by_name (
string $hostname)
Arguments
- hostname - The hostname or IP address.
Description
The geoip_org_by_name() function will return the name of the organization that an IP is assigned to.
Version
PHP PECL geoip >= 0.2.0
Return value
Returns the organization name on success, or FALSE if the address cannot be found in the database.