PHP Classes

Browser Environment Detection: Detect browser size and other characteristics

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
Not enough user ratingsTotal: 817 All time: 4,226 This week: 56Up
Version License PHP version Categories
browser-detection 1.0.0GNU Lesser Genera...5.0HTTP, PHP 5
Description 

Author

This class can be used to detect screen size and other user browser environment characteristics.

It can generate HTML with JavaScript code that can detect the size of the user browser screen, browser type and version, operating system, etc..

The detected characteristics are stored by the JavaScript code in cookies that can be read by the PHP class on the server side.

The class can perform several types of tests based on the information stored in cookies, like whether the browser is running on a mobile device, or the browser is compatible with a certain browser type, etc..

Picture of Md. Shahadat Hossain Khan Razon
  Performance   Level  

 

  Files folder image Files (5)  
File Role Description
Plain text file client_browser_detection.php Class Class file
Accessible without login Plain text file example1.php Example Example Script
Accessible without login Plain text file example2.php Example Example Script
Accessible without login HTML file index.php Doc. Example Index
Accessible without login Plain text file style_main.css.php Aux. Auxiliary Script

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:817
This week:0
All time:4,226
This week:56Up