Chip's Home > WebTools > OtherTools > ccBrowserInfo | ||
|
Page Revision History
|
ccBrowserInfo is a simple PHP class for browser (user agent) detection. It provides sufficient browser differentiation to handle most common coding problems.
A more elaborate solution is to use phpSniff (http://phpsniff.sourceforge.net/). phpSniff is much more rigorous in discerning user agent distinctions, offers more functions, and has a considerable amount of field usage. But it is too elaborate for my taste or needs. The phpSniff home page itself is a demonstration of phpSniff, and offers a wealth of useful information.
ccBrowserInfo is directly inspired by browser.php from the SourceForge 2.5 distribution. Other influences are sniffer.js from Netscape, as distributed with HTML_TreeMenu (http://phpguru.org/treemenu.php), and phpSniff.
The first version of ccBrowserInfo was created 2002-01-01, by Chip Chapin.
Here are the results from ccBrowserInfo for your current client:
Agent String: CCBot/2.0 (https://commoncrawl.org/faq/)
is Windows: false
is Mac: false
is IE: false
is IE5up: false
is NN: false
is Moz5up: false
Platform: Other
Version: 0.0
Agent: OTHER
.
|
||||
|
||||
|
||||
Updated
Monday November 18, 2002 19:43:06 PST |