|
Posted by Alvaro G. Vicario on 08/18/06 18:59
*** mark babli escribió/wrote (Fri, 18 Aug 2006 18:03:24 GMT):
> If I were to redirect users in HTML using <Meta HTTP_EQUIV... > Tag to a
> php file, why is it that $_SERVER['HOST'] returns only the domain?
That what a host is, a computer. It *must* be an IP address or domain name.
In any case, you can get a list of $_SERVER values with:
<?
print_r($_SERVER);
?>
Find there whatever you need (I don't think "HOST" is in the list).
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|