You are here: Re: $_SERVER['HTTP_HOST'] weird browser problem « PHP Programming Language « IT news, forums, messages
Re: $_SERVER['HTTP_HOST'] weird browser problem

Posted by Alvaro G. Vicario on 09/02/06 09:49

*** op12 escribió/wrote (31 Aug 2006 22:28:05 -0700):
> Somehow when I am using $_SERVER['HTTP_HOST'] to determine which
> subdomain I am on, it works fine in Firefox and not in IE. Doing some
> debugging, I found that the string returned was empty for IE, but had
> the expected subdomain in Firefox.
>
> I found the same to be true for $_SERVER['SERVER_NAME']

Have you enabled display_errors and set error_reporting to E_ALL? Are you
using sessions, cookies or JavaScript?


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

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