PHP function gethostbyaddr()

Availability in PHP 4.0

Get the Internet host name corresponding to a given IP address

Parameters

Parameter Data type Default value Note
$ip_address string not The host IP address.

Return values

string

the host name or the unmodified ip_address on failure.

Additional resources

Official gethostbyaddr documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.