PHP Classes

Browser Environment Detection: Detect browser size and other characteristics

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 815 All time: 4,233 This week: 455Up
Version License PHP version Categories
browser-detection 1.0.0GNU Lesser Genera...5.0HTTP, PHP 5


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  
Name: Md. Shahadat Hossain ... <contact>
Classes: 14 packages by
Country: Bangladesh Bangladesh
Age: 43
All time rank: 2986 in Bangladesh Bangladesh
Week rank: 262 Up5 in Bangladesh Bangladesh Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,233
This week:455Up