21
I have been looking for a reliable way to have (at least the less obscure ones) :
- the name of the browser
- the version
- and the platform (OS) it is on
- maybe more information but the 3 info above are enough.
I want to display a custom content according to these information, example :
If the user wants to know how to clear the cookies on his browser. Let's say i have many contents already available for many browser. versions And i want to load the appropriate content automatically
Is there a way not involving Javascript to get these values?
I have use cases where the browser is not found or inaccurate. So i would like to have the most reliable solution.
Here are 2 websites that does exactly what i need :
- www.whatismybrowser.com (contacted the owner to know how to do it in PHP)
- HawkBrowser Really exhaustive test , not free
Other link with partial solutions:
- upgrademybrowser.org using the old browsercap of Aug 2012 (source)
- Google's www.whatbrowser.org
Spent many days trying, seaching, but to no success. I found many hints from Stackoverflow community:
- browsercap with get_browser(). the project was discontinued (for now 8 Aug. 2012) and doesn't detect some modern popular handheld device.
- Javascript detect fea