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 bobzimuta on 08/03/06 18:03

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

I'll get on the anti-user_agent bandwagon and mention that the user
agent can be spoofed to represent a totally different browser than the
person is using.

I'd suggest you perform an additional javascript check on the client
side - using object detection and setting a cookie or modifying the URL
you will be going to in order to reflect the user's browser. But those
issues would best be resolved by asking in comp.lang.javascript

 

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

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