CODE
LIBARY.COM
Home
/
PHP
PHP Get Website Hostname
Get Website Hostname
<? $host = gethostbyname("www.google.com"); echo $host; ?>
$host = gethostbyname("www.google.com"); echo $host; ?>
Copy to Clipboard
Related Snippets
PHP Getting User Information
PHP PHP String Compact Function
PHP Looging with sessions
PHP Detects the part of the day
PHP Regions and cities in Bulgaria
PHP ABSPATH PHP Code: Preventing Direct Access and Exiting
PHP Remove Inline Styling from WordPress Tag Clouds
PHP Text to Image using while
PHP Multi Language Seconds to String Converter
PHP Ma.cx subdomain tool