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
gethostbyname
gethostbyname
ReturntheIPv4address
getservbyname
getservbyname
Gettheportnumberasso
inet_pton
inet_pton
Converthuman-readabl
gethostname
gethostname
Getthehostname
socket_get_status
socket_get_status
Aliasofstream_get_
headers_sent
headers_sent
DetectwhethertheHTTP
getmxrr
getmxrr
GettheMXrecordcorres
socket_set_timeout
socket_set_timeout
Aliasforstream_set
Popular Articles
Common errors and solutions for PHP gethostbyname function
Is the PHP gethostbyname Function Compatible with IPv6? Issues and Solutions Explained
Basic Usage of PHP gethostbyname Function: How to Quickly Master Its Core Operations?