Difference b/w SERVER_NAME and HTTP_HOST
Posted: Tue Jun 07, 2005 11:07 am
What difference can there be between $_SERVER['SERVER_NAME'] and $_SERVER['HTTP_HOST'] ?
Both are always rerturning the same values. Which is the one to determine subdomains ? Both are showing the correct sub-domain.
Thanks
Both are always rerturning the same values. Which is the one to determine subdomains ? Both are showing the correct sub-domain.
Thanks