You are here: Re: browser detect and redirect « PHP « IT news, forums, messages
Re: browser detect and redirect

Posted by David Dorward on 10/08/78 11:15

Ross wrote:

> I want to redirect anyone not using ie 4+ as there browser.
>
> Is this possible with php?

You could examine the user agent string, but that can be (and is in many
cases) spoofed.

Its generally better to just write code which doesn't depend on the use of a
specific browser. Its very rare that something really needs IE (At least I
assume that "+" means "higher" rather that "better").

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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