You are here: Re: Is it possible to do this?? « PHP Programming Language « IT news, forums, messages
Re: Is it possible to do this??

Posted by Miguel Cruz on 08/03/06 17:52

"Anders" <andersjensen.mail@gmail.com> wrote:
> Hi. Is it possible to make a php script that will redirect a guest to a
> website, depending on which browser he uses??
>
> I mean, IE doesn't keep the webstandards, so you could make a page for
> IE users and one for Firefox users. If the user uses IE, when clicking
> a link he will be redirected to that page and same thing with
> Firefox...?

Sure, just check $_SERVER['HTTP_USER_AGENT'] and then decide where to
send them with header("Location: wherever");

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

 

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

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