Posted by Jerry Stuckle on 08/18/06 18:44
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]
|