gethostbyname function

The gethostbyname function returns the IP address of the host specified by its name

<?php
print(gethostbyname(“www.google.com”));
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*