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 File Visit Counter
PHP Listing all folder and subfolders
PHP BLA LOOK - Web Based Text Matching
PHP Random password using md5() and rand()
PHP MS Word
PHP WordPress Function: wp_get_post_tags()
PHP Calendar
PHP File read using while
PHP GD Font Test
PHP Beta mIRC Code Highlight