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 Find Emails Address in Text
PHP Web-based CSV to MySQL Data Import
PHP Ping
PHP Remove Inline Styling from WordPress Tag Clouds
PHP Array Extension Get
PHP Multi Language Seconds to String Converter
PHP GD Font Image Text
PHP Generating html file
PHP Text Formatting Functions
PHP Array Push useful for reverse directory listing