I have been looking for a reliable way to have (at least the less obscure ones) :

  1. the name of the browser
  2. the version
  3. and the platform (OS) it is on
  4. 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 :

  1. www.whatismybrowser.com (contacted the owner to know how to do it in PHP)
  2. HawkBrowser Really exhaustive test , not free

Other link with partial solutions:

  1. upgrademybrowser.org using the old browsercap of Aug 2012 (source)
  2. Google's www.whatbrowser.org

Spent many days trying, seaching, but to no success. I found many hints from Stackoverflow community:

  1. browsercap with get_browser(). the project was discontinued (for now 8 Aug. 2012) and doesn't detect some modern popular handheld device.
  2. Javascript detect fea
Edit
Report