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 Luke - eat.lemons@gmail.com on 09/01/06 14:08

op12 wrote:
> 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']
>
> Any idea on how to resolve the issue? I thought that the PHP would be
> browser independent since it is processed server-side, but it seems
> like IE is not passing headers?
>
Just to let you know ive had the same problem, cant seem to find a
reason why. Can anyone shed any light on this?

Luke.

 

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

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