gethostbyname

Example

 string gethostbyname ( string $hostname ) 

Description

Returns the IPv4 address of the Internet host specified by hostname.

Return Values

Returns the IPv4 address or a string containing the unmodified hostname on failure.