PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-11-25 (7 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 3,425 All time: 970 This week: 977Down
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: Serbia and Montenegro Serbia and Montenegro
Age: 41
All time rank: 3261 in Serbia and Montenegro Serbia and Montenegro
Week rank: 478 Down1 in Serbia and Montenegro Serbia and Montenegro Equal

  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,425
This week:0
All time:970
This week:977Down
User Ratings User Comments (3)
 All time
Utility:95%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:-
Tests:85%StarStarStarStarStar
Videos:-
Overall:65%StarStarStarStar
Rank:616
 
Excellent
6 years ago (kishore kumar)
65%StarStarStarStar
It will be better to get the browser version using separate f...
7 years ago (Backer)
67%StarStarStarStar
Odli&#269;no
7 years ago (Dusan Boskic)
70%StarStarStarStar