Returns the IP address of the Internet host specified by hostname or a string containing the unmodified hostname on failure.
<?php
$ip = gethostbyname('www.example.com');
print $ip;
?>See also gethostbyaddr().
| This HTML Help has been published using the chm2web software. |