browser detection
| From: | Peter Benoit | Date: | Mon, 10 Jul 2000 21:38:23 +0000 |
| Subject: | browser detection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5820@lists.php.net to get a copy of this message | ||
Why is it that in IE I get the following from the browser detection script
using browscap, but in Netscape and Opera I get nothing?
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
----------------------------------------------------------------------------
----
browser_name_pattern Mozilla/4\.0 (compatible; MSIE 5\..*; Windows NT.*)
parent IE 5.0
platform WinNT
beta 1
browser IE
version 5.0
majorver #5
minorver #0
frames 1
tables 1
cookies 1
backgroundsounds 1
vbscript 1
javaapplets 1
javascript 1
activexcontrols 1
win16
ak
sk
aol
update
IN NETSCAPE :
Mozilla/4.7 [en] (WinNT; I)
0
IN OPERA:
Mozilla/4.72 (Windows NT 4.0;US) Opera 4.0 [en]
0