PHP Classes

PHP User Agent Detection: Determine the type of browser from the user agent

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 322 All time: 7,183 This week: 310Up
Version License PHP version Categories
user-agent 1.0.0GNU Lesser Genera...5.2HTTP, PHP 5, Statistics
Description Author

This class can determine the type of browser from the user agent.

It parses the current request user agent string to detect the user machine operating system, browser and browser version.

The class may also take an explicit user browser string to parse instead of the current user agent identifier string.

Picture of Eduardo "Trial Force" Bonfandini
  Performance   Level  
Name: Eduardo "Trial Force" ... is available for providing paid consulting. Contact Eduardo "Trial Force" ... .
Classes: 2 packages by
Country: Brazil Brazil
Age: 41
All time rank: 1597105 in Brazil Brazil
Week rank: 285 Up20 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example Test/example file
Plain text file userAgent.php Class Base userAgent class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,183
This week:310Up