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
openlog
openlog
Opentheconnectiontot
gethostbyaddr
gethostbyaddr
Getthehostnamecorres
gethostname
gethostname
Getthehostname
fsockopen
fsockopen
Openanetworkconnecti
getmxrr
getmxrr
GettheMXrecordcorres
gethostbyname
gethostbyname
ReturntheIPv4address
getservbyname
getservbyname
Gettheportnumberasso
dns_get_record
dns_get_record
GettheDNSrecordofthe
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