|
Posted by mark babli on 08/18/06 19:34
Thanks a million,
That is exactly what I was looking for, I appreciate your help.
"Alvaro G. Vicario" <webmaster@NOSPAMdemogracia.com> wrote in message
news:80payd9vueuj$.1sf8e0d3oszy1.dlg@40tude.net...
> *** 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 programacin web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --
Navigation:
[Reply to this message]
|