gethostbyaddr

(PHP3 , PHP4 )

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