Redirect to certain page depending on browser version.
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 23-09-07 20:18
Hello, this is my first post in the forum, so I'm not completely sure if this is the correct category for my question.
I'm creating a website and found out that it is not correctly viewed in IE 5.5 or below, so I made a much simpler, not as "showy" as the original, that works perfectly fine in Firefox and IE 6 and above.
Well my question is: how can I detect the browser version/user agent via PHP or .htaccess, so that the page is redirected depending on the browser? (Maybe the same way that it is done in Basic Web Hacking 3)
I'm not asking to create the code for me (though if posible, it would be great! ), just some advice on how to do it.