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
Basic Usage of PHP gethostbyname Function: How to Quickly Master Its Core Operations?
5
Similar Functions
setcookie
setcookie
Sendcookies
setrawcookie
setrawcookie
Sendunurl-encodedcoo
header_register_callback
header_register_callback
Callaheaderfunction
getservbyname
getservbyname
Gettheportnumberasso
socket_get_status
socket_get_status
Aliasofstream_get_
gethostbyname
gethostbyname
ReturntheIPv4address
gethostbynamel
gethostbynamel
GettheIPv4addresslis
syslog
syslog
Generatesystemlogmes
Popular Articles
Basic Usage of PHP gethostbyname Function: How to Quickly Master Its Core Operations?
Is the PHP gethostbyname Function Compatible with IPv6? Issues and Solutions Explained
Common errors and solutions for PHP gethostbyname function