gethostbyaddr

(PHP 3, PHP 4 >= 4.0b1)

gethostbyaddr --  Get the Internet host name corresponding to a given IP address

Description

string gethostbyaddr (string ip_address)

Returns the host name of the Internet host specified by ip_address. If an error occurs, returns ip_address.

See also gethostbyname().