Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
gethostbyname
gethostbyname
Return the IPv4 address corresponding to the host name
Name:
gethostbyname
Category:
Network
Programming Language:
php
One-line Description:
Returns the IPv4 address of the given domain/hostname.
Related
Is the PHP gethostbyname Function Compatible with IPv6? Issues and Solutions Explained
10
Common errors and solutions for PHP gethostbyname function
9
Similar Functions
define_syslog_variables
define_syslog_variables
Initializeallsyslog-
inet_ntop
inet_ntop
ConvertpackagedInter
getprotobynumber
getprotobynumber
Gettheprotocolnameas
getprotobyname
getprotobyname
Gettheprotocolnumber
setrawcookie
setrawcookie
Sendunurl-encodedcoo
http_response_code
http_response_code
Get/settheHTTPstatus
header
header
SendnativeHTTPheader
socket_get_status
socket_get_status
Aliasofstream_get_
Popular Articles
Common errors and solutions for PHP gethostbyname function
Is the PHP gethostbyname Function Compatible with IPv6? Issues and Solutions Explained