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 Simple Graphic Counter
PHP Free For All Links
PHP Getting query
PHP PHP getRequestJSON Function - Get Request Body as JSON Object
PHP Generate a Globally Unique Identifier (GUID) in PHP
PHP Web-based CSV to MySQL Data Import
PHP Project Euler Problem 34
PHP Change file upload name using Code Igniter
PHP URL Validation
PHP Template Monster Design View Generator