You are here: Re: PHP Redirect Problem « PHP Programming Language « IT news, forums, messages
Re: PHP Redirect Problem

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация