PHP CURRENT HOST
From w3cyberlearnings
Contents |
PHP CURRENT HOST or Domain
Get the CURRENT Host or Domain.
Example
<?php // http://www.w3cyberlearnings.com/Learning_PHP echo $_SERVER['HTTP_HOST']; ?>
Output
www.w3cyberlearnings.com
Related Links
Manage URL