1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
\r
3 | -------------------------------------------------------------------
\r
5 | -------------------------------------------------------------------
\r
6 | This file contains four arrays of user agent data. It is used by the
\r
7 | User Agent Class to help identify browser, platform, robot, and
\r
8 | mobile device data. The array keys are used to identify the device
\r
9 | and the array values are used to set the actual name of the item.
\r
13 $platforms = array (
\r
14 'windows nt 6.0' => 'Windows Longhorn',
\r
15 'windows nt 5.2' => 'Windows 2003',
\r
16 'windows nt 5.0' => 'Windows 2000',
\r
17 'windows nt 5.1' => 'Windows XP',
\r
18 'windows nt 4.0' => 'Windows NT 4.0',
\r
19 'winnt4.0' => 'Windows NT 4.0',
\r
20 'winnt 4.0' => 'Windows NT',
\r
21 'winnt' => 'Windows NT',
\r
22 'windows 98' => 'Windows 98',
\r
23 'win98' => 'Windows 98',
\r
24 'windows 95' => 'Windows 95',
\r
25 'win95' => 'Windows 95',
\r
26 'windows' => 'Unknown Windows OS',
\r
27 'os x' => 'Mac OS X',
\r
28 'ppc mac' => 'Power PC Mac',
\r
29 'freebsd' => 'FreeBSD',
\r
30 'ppc' => 'Macintosh',
\r
32 'debian' => 'Debian',
\r
33 'sunos' => 'Sun Solaris',
\r
35 'apachebench' => 'ApacheBench',
\r
40 'netbsd' => 'NetBSD',
\r
42 'openbsd' => 'OpenBSD',
\r
43 'gnu' => 'GNU/Linux',
\r
44 'unix' => 'Unknown Unix OS'
\r
48 // The order of this array should NOT be changed. Many browsers return
\r
49 // multiple browser types so we want to identify the sub-type first.
\r
52 'MSIE' => 'Internet Explorer',
\r
53 'Internet Explorer' => 'Internet Explorer',
\r
54 'Shiira' => 'Shiira',
\r
55 'Firefox' => 'Firefox',
\r
56 'Chimera' => 'Chimera',
\r
57 'Phoenix' => 'Phoenix',
\r
58 'Firebird' => 'Firebird',
\r
59 'Camino' => 'Camino',
\r
60 'Netscape' => 'Netscape',
\r
61 'OmniWeb' => 'OmniWeb',
\r
62 'Mozilla' => 'Mozilla',
\r
63 'Safari' => 'Safari',
\r
64 'Konqueror' => 'Konqueror',
\r
68 'hotjava' => 'HotJava',
\r
70 'IBrowse' => 'IBrowse'
\r
74 // legacy array, old values commented out
\r
75 'mobileexplorer' => 'Mobile Explorer',
\r
76 // 'openwave' => 'Open Wave',
\r
77 // 'opera mini' => 'Opera Mini',
\r
78 // 'operamini' => 'Opera Mini',
\r
79 // 'elaine' => 'Palm',
\r
80 'palmsource' => 'Palm',
\r
81 // 'digital paths' => 'Palm',
\r
82 // 'avantgo' => 'Avantgo',
\r
83 // 'xiino' => 'Xiino',
\r
84 'palmscape' => 'Palmscape',
\r
85 // 'nokia' => 'Nokia',
\r
86 // 'ericsson' => 'Ericsson',
\r
87 // 'blackberry' => 'BlackBerry',
\r
88 // 'motorola' => 'Motorola'
\r
90 // Phones and Manufacturers
\r
91 'motorola' => "Motorola",
\r
94 'iphone' => "Apple iPhone",
\r
95 'ipod' => "Apple iPod Touch",
\r
96 'sony' => "Sony Ericsson",
\r
97 'ericsson' => "Sony Ericsson",
\r
98 'blackberry' => "BlackBerry",
\r
99 'cocoon' => "O2 Cocoon",
\r
100 'blazer' => "Treo",
\r
105 'vario' => "Vario",
\r
107 'samsung' => "Samsung",
\r
108 'sharp' => "Sharp",
\r
109 'sie-' => "Siemens",
\r
110 'alcatel' => "Alcatel",
\r
112 'ipaq' => "HP iPaq",
\r
113 'mot-' => "Motorola",
\r
114 'playstation portable' => "PlayStation Portable",
\r
115 'hiptop' => "Danger Hiptop",
\r
117 'panasonic' => "Panasonic",
\r
118 'philips' => "Philips",
\r
119 'sagem' => "Sagem",
\r
120 'sanyo' => "Sanyo",
\r
123 'sendo' => "Sendo",
\r
125 // Operating Systems
\r
126 'symbian' => "Symbian",
\r
127 'SymbianOS' => "SymbianOS",
\r
128 'elaine' => "Palm",
\r
130 'series60' => "Symbian S60",
\r
131 'windows ce' => "Windows CE",
\r
134 'obigo' => "Obigo",
\r
135 'netfront' => "Netfront Browser",
\r
136 'openwave' => "Openwave Browser",
\r
137 'mobilexplorer' => "Mobile Explorer",
\r
138 'operamini' => "Opera Mini",
\r
139 'opera mini' => "Opera Mini",
\r
142 'digital paths' => "Digital Paths",
\r
143 'avantgo' => "AvantGo",
\r
144 'xiino' => "Xiino",
\r
145 'novarra' => "Novarra Transcoder",
\r
146 'vodafone' => "Vodafone",
\r
147 'docomo' => "NTT DoCoMo",
\r
151 'mobile' => "Generic Mobile",
\r
152 'wireless' => "Generic Mobile",
\r
153 'j2me' => "Generic Mobile",
\r
154 'midp' => "Generic Mobile",
\r
155 'cldc' => "Generic Mobile",
\r
156 'up.link' => "Generic Mobile",
\r
157 'up.browser' => "Generic Mobile",
\r
158 'smartphone' => "Generic Mobile",
\r
159 'cellphone' => "Generic Mobile"
\r
162 // There are hundreds of bots but these are the most common.
\r
164 'googlebot' => 'Googlebot',
\r
165 'msnbot' => 'MSNBot',
\r
166 'slurp' => 'Inktomi Slurp',
\r
167 'yahoo' => 'Yahoo',
\r
168 'askjeeves' => 'AskJeeves',
\r
169 'fastcrawler' => 'FastCrawler',
\r
170 'infoseek' => 'InfoSeek Robot 1.0',
\r
174 /* End of file user_agents.php */
\r
175 /* Location: ./system/application/config/user_agents.php */