Login   Register  
PHP Classes
elePHPant
Icontem

Sniff Response: Detect the browser type and capabilities category

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Grant Rodney Paton-Simpson
Name: Grant Rodney ... <contact>
Classes: 2 packages by
Country: New Zealand New Zealand
Age: 47
All time rank: 9297 in New Zealand New Zealand
Week rank: 752 Up5 in New Zealand New Zealand Up


  Detailed description   Download Download .zip .tar.gz  
This class can be used to detect the user browser type and its category based on expected capabilities.

The class analyzes the user agent string and depending on the detected browser type it can assign to one of 4 groups: not OK, just OK, modern, and unknown. The browser name and version is also detected.

This class can help generating pages according to the detected browser capabilities, like for instance: outputting warnings, generating crude HTML that is browser independent, etc.

  Classes of Grant Rodney Paton-Simpson  >  Sniff Response  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Sniff Response
Base name: sniffresponse
Description: Detect the browser type and capabilities category
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 702 users
All time rank: 4245
Week users: 0 users
Week rank: 1473 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file banner.css Data CSS for phpDocumentor file
Accessible without login Image file bh_80x15.gif Icon image for example script
Accessible without login Plain text file browser_not_ok.php Example Example response
Plain text file class.SniffResponse.php Class PHP5 Class
Plain text file class.SniffResponse4.php Class PHP4 Class
Accessible without login HTML file SniffResponse4_phpDocumentor.html Doc. Detailed PHP4 documentation
Accessible without login HTML file SniffResponse_phpDocumentor.html Doc. Detailed PHP5 documentation
Accessible without login HTML file SniffResponse_User_Documentation.html Doc. Examples and Explanation
Accessible without login Plain text file stylesheet.css Data CSS for phpDocumentor file

Download Download all files: sniffresponse.tar.gz sniffresponse.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.