Login   Register  
PHP Classes
elePHPant
Icontem

PHP User Agent Detection: Determine the type of browser 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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-03-11 (9 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 294 All time: 6,652 This week: 1,496Up
Version License PHP version Categories  
user-agent 1.0.0GNU Lesser General Publ...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
Name: Eduardo "Trial Force" ... is available for providing paid consulting. Contact Eduardo "Trial Force" ... .
Classes: 2 packages by
Country: Brazil Brazil
Age: 33
All time rank: 1907131 in Brazil Brazil
Week rank: 557 Up49 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  
 0%Total:294All time:6,652
 This week:0This week:1,496Up