gethostbyaddr

Get the Internet host name corresponding to a given IP address

Syntax

gethostbyaddr ( string $ip_address ) : string

Parameters

ip_address

The host IP address.

Return

Returns the host name on success, the unmodified ip_address on failure, or FALSE on malformed input.

Examples

<?

$ip_address = '185.85.0.29';

$return = gethostbyaddr($ip_address);

echo $return;

?>
ip-185-85-0-29.ax5z.com

checkdnsrr

closelog

dns_check_record

dns_get_mx

dns_get_record

fsockopen

gethostbyname

gethostbynamel

gethostname

getmxrr

getprotobyname

getprotobynumber

getservbyname

getservbyport

header

header_register_callback

header_remove

headers_list

headers_sent

http_response_code

inet_ntop

inet_pton

ip2long

long2ip

openlog

pfsockopen

setcookie

setrawcookie

socket_get_status

socket_set_blocking

socket_set_timeout

syslog

PHP

Home Menu