Posted by mark babli on 08/18/06 19:34
Thanks a million. I'll make sure to read what the return values are from now
on... Newbie :-^
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:5oudnTRmGc_nl3vZnZ2dnUVZ_tydnZ2d@comcast.com...
> mark babli wrote:
>> Hello everyone,
>>
>> 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? I
>> looked around on the internet and couldn't find that much of a help.
>> What am I missing? Any help would be appreciated...
>>
>>
>>
>> Thanks
>>
>>
>>
>
> $_SERVER['HOST'] is not a valid value (at least not for Apache).
>
> If you're talking about $_SERVER['HTTP_HOST'] it is only supposed to
> return the domain (i.e. 'www.example.com').
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
[Back to original message]
|