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 PHP String Compact Function
PHP Mail Validation
PHP List Recursive Directories
PHP Remove non-alphanumeric characters
PHP Files sorting by size
PHP Configuration
PHP Extracting iframe and image sources from HTML string | PHP function
PHP Free For All Links
PHP Listing only one type files
PHP Bulgarian Web sites search