gethostbyaddr

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

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().