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