What is the difference between HTTP_HOST and SERVER_NAME in PHP?
HTTP_HOST
SERVER_NAME
where:
$_SERVER[\'HTTP_HOST\'
Depends what I want to find out. SERVER_NAME is the host name of the server, whilst HTTP_HOST is the virtual host that the client connected to.