PHP Classes

Advanced User Agent: Detect the type of browser accessing the site

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,258 All time: 3,045 This week: 185Up
Version License PHP version Categories
advanced-browser-det 2GNU General Publi...4.3HTTP


This class can be used to detect the type of browser accessing the site.

It analyzes the user agent request header and compares it to known patterns to detect the type of browser currently accessing the site.

The class can return the browser name, version, whether it is a browser on a mobile device and the user language.
Lars Echterhoff rewrites and develop, thanks Lars Echterhoff

Picture of Selman TUNĒ
Name: Selman TUNĒ <contact>
Classes: 1 package by
Country: Turkey Turkey
Age: ???
All time rank: 87116 in Turkey Turkey
Week rank: 653 Up13 in Turkey Turkey Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login HTML file example_.php Example example
Plain text file stnc_userAgent.php Class class
Plain text file ua.class.php Class new user agent
Plain text file ua.footprintref.php Class new user agent

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,045
This week:185Up