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 Split JS Make Email
PHP Website Status Online Check
PHP For Looper
PHP Send mail with headers
PHP PHP Array Functions - Examples and Usage
PHP Web-Based Random Post Generator
PHP Get current filename as variable
PHP Arabic to Farsi and Farsi to Arabic Converter
PHP Count file lines in a folder
PHP YouTube Video ID Filter for PHP Web-Based Application