Source for file agent_browser.php
Documentation is available at agent_browser.php
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
* Mambo is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2 of the
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
* AWSTATS BROWSERS DATABASE
* If you want to add a Browser to extend AWStats database detection capabilities,
* you must add an entry in BrowsersSearchIDOrder and in BrowsersHashIDLib.
* This list is used to know in which order to search Browsers IDs (Most
* frequent one are first in this list to increase detect speed).
* It contains all matching criteria to search for in log fields.
* Note: Browsers IDs are in lower case and ' ' and '+' are changed into '_'
$browserSearchOrder =
array (
// Most frequent standard web browsers are first in this list
// Other standard web browsers
"winamp", // Works for winampmpeg and winamp3httprdr
// PDA/Phonecell browsers
"panasonic", // Panasonic
"sonyericsson", // SonyEricsson
"ericsson", // Ericsson (must be after sonyericsson
"up\.", // Works for UP.Browser and UP.Link
// PDA/Phonecell I-Mode browsers
// Other kind of browsers
"mozilla", // Must be at end because a lot of browsers contains mozilla in string
"libwww" // Must be at end because some browser have both "browser id" and "libwww"
// Common web browsers text (IE and Netscape must not be in this list)
"konqueror"=>
"Konqueror",
"msie 6\.0"=>
"Microsoft Internet Explorer 6.0",
"apachebench"=>
"ApacheBench",
"22acidownload"=>
"22AciDownload",
"aol\\-iweng"=>
"AOL-Iweng",
"amigavoyager"=>
"AmigaVoyager",
"dreamcast"=>
"Dreamcast",
"downloadagent"=>
"DownloadAgent",
"emailsiphon"=>
"EmailSiphon",
"encompass"=>
"Encompass",
"friendlyspider"=>
"FriendlySpider",
"hotjava"=>
"Sun HotJava",
"linemodebrowser"=>
"W3C Line Mode Browser",
"lotus-notes"=>
"Lotus Notes web client",
"multizilla"=>
"MultiZilla",
"ncsa_mosaic"=>
"NCSA Mosaic",
"netpositive"=>
"NetPositive",
"nutscrape", "Nutscrape",
"msfrontpageexpress"=>
"MS FrontPage Express",
"firebird"=>
"Mozilla Firebird",
"firefox"=>
"Mozilla Firefox",
"webfetcher"=>
"WebFetcher",
"webexplorer"=>
"IBM-WebExplorer",
"webmirror"=>
"WebMirror",
"teleport"=>
"TelePort Pro",
"webcopier", "WebCopier",
"real"=>
"RealAudio or compatible (media player)",
"winamp"=>
"WinAmp (media player)", // Works for winampmpeg and winamp3httprdr
"windows-media-player"=>
"Windows Media Player (media player)",
"audion"=>
"Audion (media player)",
"freeamp"=>
"FreeAmp (media player)",
"itunes"=>
"Apple iTunes (media player)",
"jetaudio"=>
"JetAudio (media player)",
"mint_audio"=>
"Mint Audio (media player)",
"mpg123"=>
"mpg123 (media player)",
"nsplayer"=>
"NetShow Player (media player)",
"sonique"=>
"Sonique (media player)",
"uplayer"=>
"Ultra Player (media player)",
"xmms"=>
"XMMS (media player)",
"xaudio"=>
"Some XAudio Engine based MPEG player (media player)",
// PDA/Phonecell browsers
"alcatel"=>
"Alcatel Browser (PDA/Phone browser)",
"ericsson"=>
"Ericsson Browser (PDA/Phone browser)",
"mot-"=>
"Motorola Browser (PDA/Phone browser)",
"nokia"=>
"Nokia Browser (PDA/Phone browser)",
"panasonic"=>
"Panasonic Browser (PDA/Phone browser)",
"philips"=>
"Philips Browser (PDA/Phone browser)",
"sonyericsson"=>
"Sony/Ericsson Browser (PDA/Phone browser)",
"mmef"=>
"Microsoft Mobile Explorer (PDA/Phone browser)",
"mspie"=>
"MS Pocket Internet Explorer (PDA/Phone browser)",
"wapalizer"=>
"WAPalizer (PDA/Phone browser)",
"wapsilon"=>
"WAPsilon (PDA/Phone browser)",
"webcollage"=>
"WebCollage (PDA/Phone browser)",
"up\."=>
"UP.Browser (PDA/Phone browser)", // Works for UP.Browser and UP.Link
// PDA/Phonecell I-Mode browsers
"docomo"=>
"I-Mode phone (PDA/Phone browser)",
"portalmmm"=>
"I-Mode phone (PDA/Phone browser)",
"webtv"=>
"WebTV browser",
// Other kind of browsers
"csscheck"=>
"WDG CSS Validator",
"w3c_css_validator"=>
"W3C CSS Validator",
"w3c_validator"=>
"W3C HTML Validator",
"wdg_validator"=>
"WDG HTML Validator",
"staroffice"=>
"StarOffice",
// BrowsersHashAreGrabber
// Put here an entry for each browser in BrowsersSearchIDOrder that are grabber
//---------------------------------------------------------------------------
$BrowsersHereAreGrabbers =
array (
// Each Browsers Search ID is associated to a string that is the name of icon
// file for this browser.
//---------------------------------------------------------------------------
$BrowsersHashIcon =
array (
"konqueror"=>
"konqueror",
"22acidownload"=>
"notavailable",
"aol\\-iweng"=>
"notavailable",
"amigavoyager"=>
"notavailable",
"cyberdog"=>
"notavailable",
"dreamcast"=>
"dreamcast",
"downloadagent"=>
"notavailable",
"ecatch"=>
"notavailable",
"emailsiphon"=>
"notavailable",
"encompass"=>
"notavailable",
"friendlyspider"=>
"notavailable",
"fresco"=>
"notavailable",
"headdump"=>
"notavailable",
"hotjava"=>
"notavailable",
"intergo"=>
"notavailable",
"linemodebrowser"=>
"notavailable",
"lotus-notes"=>
"notavailable",
"macweb"=>
"notavailable",
"multizilla"=>
"multizilla",
"ncsa_mosaic"=>
"notavailable",
"netpositive"=>
"netpositive",
"nutscrape"=>
"notavailable",
"msfrontpageexpress"=>
"notavailable",
"tzgeturl"=>
"notavailable",
"viking"=>
"notavailable",
"webfetcher"=>
"notavailable",
"webexplorer"=>
"notavailable",
"webmirror"=>
"notavailable",
"webvcr"=>
"notavailable",
"webcopier"=>
"webcopier",
"winamp"=>
"mediaplayer", // Works for winampmpeg and winamp3httprdr
"windows-media-player"=>
"mediaplayer",
"freeamp"=>
"mediaplayer",
"jetaudio"=>
"mediaplayer",
"mint_audio"=>
"mediaplayer",
"nsplayer"=>
"mediaplayer",
"sonique"=>
"mediaplayer",
"uplayer"=>
"mediaplayer",
// PDA/Phonecell browsers
"alcatel"=>
"pdaphone", // Alcatel
"ericsson"=>
"pdaphone", // Ericsson
"mot-"=>
"pdaphone", // Motorola
"nokia"=>
"pdaphone", // Nokia
"panasonic"=>
"pdaphone", // Panasonic
"philips"=>
"pdaphone", // Philips
"sonyericsson"=>
"pdaphone", // Sony/Ericsson
"webcollage"=>
"pdaphone",
"up\."=>
"pdaphone", // Works for UP.Browser and UP.Link
// PDA/Phonecell I-Mode browsers
// Other kind of browsers
"csscheck"=>
"notavailable",
"w3c_css_validator"=>
"notavailable",
"w3c_validator"=>
"notavailable",
"wdg_validator"=>
"notavailable",
"staroffice"=>
"staroffice",
// Add Gecko category -> IE / Netscape / Gecko(except Netscape) / Other
// Gecko except Netscape (Mozilla, Firebird (was Phoenix), Galeon, AmiZilla, Dino, and few others)
// KHTML (Konqueror, Safari)
Documentation generated on Mon, 05 May 2008 16:16:42 +0400 by phpDocumentor 1.4.0