ID:               28703
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andrew_chel at ua dot fm
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Linux
 PHP Version:      4.3.4
 New Comment:

There have been various fixes for get_browser() that have 
been applied since PHP 4.3.4. Please try a more up-to-date 
version of PHP, like the recently released 4.3.7, as this 
problem has likely already been fixed. 
 
J 


Previous Comments:
------------------------------------------------------------------------

[2004-06-08 20:19:33] andrew_chel at ua dot fm

Description:
------------
I got the latest version of the browsecap.ini file from
http://www.garykeith.com/browsers/downloads.asp (link on this page was
in PHP.chm documentation file)

$HTTP_SERVER_VARS['HTTP_USER_AGENT'] is:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
but get_browser() return netclr='' instead netclr='1'

if I swap (expression with .NET CLR* become first) following lines in
browscap.ini all work correctly and get_browser() return netclr='1':

[Mozilla/4.0 (compatible; MSIE 6.0*;*Windows NT 5.0*)*]
parent=IE 6.0
platform=Win2000

[Mozilla/4.0 (compatible; MSIE 6.0*;*Windows NT 5.0*.NET CLR*)*]
parent=IE 6.0
platform=Win2000
netclr=True




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28703&edit=1

Reply via email to