1 개요[ | ]
- PHP gethostbyname()
PHP
CPU
0.0s
MEM
22M
0.1s
Copy
$ip = gethostbyname('www.example.com');
echo $ip;
93.184.216.34
PHP
Copy
$ip = gethostbyname('google.com');
echo $ip;
Loading
2 같이 보기[ | ]
- PHP gethostbyaddr() - Get the Internet host name corresponding to a given IP address
- PHP gethostbynamel() - Get a list of IPv4 addresses corresponding to a given Internet host name
- PHP inet_pton() - Converts a human readable IP address to its packed in_addr representation
- PHP inet_ntop() - Converts a packed internet address to a human readable representation]]
- 함수 gethostbyname()
3 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.