PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 1,260 All time: 3,044 This week: 673Up
Version License PHP version Categories
advanced-browser-det 2GNU General Publi...4.3HTTP
Description 

Author

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: 192 Up3 in Turkey Turkey Up

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,260
This week:0
All time:3,044
This week:673Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2766