PHP Classes

PHP Detect Browser Information: Extract the user browser from the HTTP request

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 132 This week: 1All time: 9,314 This week: 560Up
Version License PHP version Categories
browserinfodetection 1.0.0GNU General Publi...5HTTP, PHP 5
Description 

Author

This package can extract the user browser from the HTTP request.

It can check the current HTTP request user agent string and parses it to extract details of the current user browser.

Currently it can detect the current user browser type like Chrome, Firefox, Opera, Edge, Internet Explorer, or another browser, as well detect the user machine operating system like Windows, Linux or Mac OS.

Picture of Hassane Moussa
  Performance   Level  
Name: Hassane Moussa <contact>
Classes: 10 packages by
Country: Niger Niger
Age: 40
All time rank: 21481 in Niger Niger
Week rank: 106 Up1 in Niger Niger Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
/***************************************************************************************
                                Using Class BrowserInfoDetection
***************************************************************************************/
require('browserInfoDetection.php');

$brInfoDetect = new BrowserInfoDetection();

echo
$brInfoDetect->action();


Screenshots  
  • Example
  • screenExample.JPG
  Files folder image Files  
File Role Description
Files folder imageimg (6 files)
Plain text file browserInfoDetection.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text

  Files folder image Files  /  img  
File Role Description
  Accessible without login Image file chrone.JPG Icon Icon image
  Accessible without login Image file edge.JPG Icon Icon image
  Accessible without login Image file ie.JPG Icon Icon image
  Accessible without login Image file mozilla.JPG Icon Icon image
  Accessible without login Image file opera.JPG Icon Icon image
  Accessible without login Image file safari.JPG Icon Icon image

 Version Control Unique User Downloads Download Rankings  
 90%
Total:132
This week:1
All time:9,314
This week:560Up