Name

gethostbyaddr

Synopsis

$hostinfo = gethostbyaddr($address) 

Returns the same array as gethostbyname() for given IP number. The IP should be given as a decimal string, as in “127.0.0.1”. In the official W3-mSQL documentation, this function is referred to as both gethostbyaddr and gethostbyaddress. At the time of this writing gethostbyaddress is incorrect and does not exist as a function in W3-mSQL.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.