PHP Classes

Browser Detection: Determine the browser and OS from the user agent

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 3,440 All time: 988 This week: 673Up
Version License Categories
browser_detection 1.0BSD LicenseHTTP
Description 

Author

This class should be used to parse browser "user agent" string and determine exact browser version and operating system.

It recognize all popular browsers/os's as well as some not so popular. It returns the browsers name and its exact version number (ie. Firefox 1.0.7).

Picture of Dragan Dinic
Name: Dragan Dinic <contact>
Classes: 2 packages by
Country: ???
Age: 49
All time rank: 339
Week rank: 298 Up

  Files folder image Files  
File Role Description
Plain text file browser_detection.php Class Browser Detection class
Accessible without login Plain text file example.php Test Example of usage

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,440
This week:0
All time:988
This week:673Up
User Ratings User Comments (3)
 All time
Utility:92%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:-
Tests:82%StarStarStarStarStar
Videos:-
Overall:63%StarStarStarStar
Rank:805
 
Excellent
14 years ago (kishore kumar)
65%StarStarStarStar
It will be better to get the browser version using separate f...
15 years ago (Backer)
67%StarStarStarStar
Odli&#269;no
15 years ago (Dusan Boskic)
70%StarStarStarStar