Detect if visitor has older browser (IE8 ; FF3.6)
is there a way to check if a visitor has an older browser version like IE8, FF3.6 or even older.
June 10th, 2011, 12:23 AM
Yes, there's lots of different ways.
What language are you using that you want to detect this with?
June 10th, 2011, 07:34 AM
Well, I'm mainly using PHP, so it would be nice to use PHP
June 14th, 2011, 12:49 AM
Best way to check this is using the $_SERVER ["HTTP_USER_AGENT"] value (I've got that from memory, so it could be different). If you look at that, you can find out what browser and version most people are running.
June 16th, 2011, 06:48 AM
okay, I'll check it out. If I got any problems you'll hear :P
June 18th, 2011, 01:57 PM
I figured it out, after googling your advice I came across get_browser() and that was exactly what i needed.
June 21st, 2011, 02:49 AM
Very nice. I hadn't heard of that functin before so that's a good one to remember now.
where you want to add it?in ur own website or in forum?
While those are not the most recent versions of those two browsers they are still quite recent enough that they should be supported. For one thing, WinXP users can not upgrade to IE9+.
Originally Posted by Zobator
Any function, including get_browser(), that relies on the "User Agent" HTTP request header is inherently unreliable to one degree or another. I urge you to use it with caution.