Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 3,383 All time: 947 This week: 1,486Down
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: 39
All time rank: 3181 in Serbia and Montenegro Serbia and Montenegro
Week rank: 1843 Down4 in Serbia and Montenegro Serbia and Montenegro Down

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