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

Posted by ctclibby on 08/18/06 23:25

mark babli wrote:
> php file, why is it that $_SERVER['HOST'] returns only the domain? I looked

$_SERVER['HTTP_HOST'] would show you the alias, domain and top-level
domain ->
www is an alias to a computer or computers
domain is a ... domain
top-level domain is/are .com .net .edu .cc .us .... etc ... etc

print_r($Server) works, but phpinfo(32) is easier to read IMO

todh

 

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

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