HTTP: Simple Browser Detection
Patrick Mahoney (contact me)
This is a very simple class that can be used to determine which browser is being used to access the site.
The class looks the user-agent name identification and looks for text that match what is used by several known browsers.
It returns a string with two characters that is an abbreviation of the identified browser. If the browser could not be identified, it returns an empty string.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Sufficient (75.0%)
| Good (81.3%)
| -
| -
| -
| -
| Not sure (45.6%)
| 1475 |
Click here for detailed information about this class on phpclasses.org