Query: gethostbyaddr
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETHOSTBYADDR(3) 1 GETHOSTBYADDR(3) gethostbyaddr - Get the Internet host name corresponding to a given IP addressSYNOPSISstring gethostbyaddr (string $ip_address)DESCRIPTIONReturns the host name of the Internet host specified by $ip_address.PARAMETERSo $ip_address - The host IP address.RETURN VALUESReturns the host name on success, the unmodified $ip_address on failure, or FALSE on malformed input.EXAMPLESExample #1 A simple gethostbyaddr(3) example <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?>SEE ALSOgethostbyname(3), gethostbynamel(3). PHP Documentation Group GETHOSTBYADDR(3)
Related Man Pages |
---|
gethostbyaddr(3p) - suse |
gethostbyaddr(3) - posix |
checkdnsrr(3) - php |
getmxrr(3) - php |
gethostbyname(3nsl) - posix |
Similar Topics in the Unix Linux Community |
---|
[ID 702911 mail.warning] gethostbyaddr(ip address) failed |
How to use gethostbyaddr() function |