Here\'s the code:
if (isset($_SERVER[\'HTTP_HOST\']) === TRUE) { $host = $_SERVER[\'HTTP_HOST\']; }
How is it possible to get an \"Undefined
Are you using PHP-CLI?
HTTP_HOST works only on the browser.