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    
Last Updated Ratings Unique User Downloads Download Rankings
2012-04-13 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 807 All time: 4,196 This week: 372Up
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..

  Performance   Level  
Name: Md. Shahadat Hossain ... <contact>
Classes: 14 packages by
Country: Bangladesh Bangladesh
Age: 38
All time rank: 3007 in Bangladesh Bangladesh
Week rank: 208 Up7 in Bangladesh Bangladesh Equal


  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,196
This week:372Up