PHP Classes

BrowserDetection: Detect the user browser and its capabilities

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 561 All time: 5,420 This week: 94Up
Version License PHP version Categories
browserdetection 1.0GNU General Publi...4HTTP


This class can be used to detect the browser that the current user is using to access the site.

It analyzes the user agent string sent by the browser and parses it to determine: the type of browser, the user operating system, the version, release and build.

The class may also compare the browser version against a range of accepted versions, as well if the browser is expected to support page element opacity attribute and transparent PNG images.

You can also use it for bot protection :)

Picture of Bill Frederickson
Name: Bill Frederickson <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 3135427 in United States United States
Week rank: 387 Up36 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file browser.class.php Class BrowserInfo

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,420
This week:94Up
User Comments (1)
Needs updating.
10 years ago (CPK Smithies)