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

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]


Удаленная работа для программистов  •  Как заработать на 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

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