#21443 [Com]: get_browser still has problems with browsecap.ini from www.garykeith.com

From: Date: Mon, 06 Jan 2003 03:49:27 +0000
Subject: #21443 [Com]: get_browser still has problems with browsecap.ini from www.garykeith.com
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29170@lists.php.net to get a copy of this message
ID: 21443 Comment by: gary@garykeith.com Reported By: serge@planetcharters.com Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.0 New Comment: Ilia, I am the developer of the browscap.ini file that PHP recommends to its users. Respectfully, this issue does appear to be a bug in PHP. The user agent in question, Mozilla/4.8 [en] (Windows NT 5.0; U), is in my browscap.ini file and it is recognized when Serge visits my website which uses IIS. To me that suggests a bug in get_browser(). I am suspicious that in certain situations get_browser() has a problem dealing with multiple question marks in a user agent. In an attempt to prove my theory I changed the definition for the user agent in question and asked Serge to see if it works. I'll report back here on his results. Previous Comments: ------------------------------------------------------------------------ [2003-01-05 15:41:02] iliaa@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Contact the developer mantaining the browsecap.ini, this is not a PHP bug. ------------------------------------------------------------------------ [2003-01-05 15:29:07] serge@planetcharters.com PHP does not detect Netscape for Windows ua: Mozilla/4.8 [en] (Windows NT 5.0; U) It did detect Mozilla 1.2 and IE 6 for Windows and Mozilla 1.1 and Netscape 4.7 in Linux. The latest verion (downloaded January 5 2003) of browsecap.ini was used. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21443&edit=1

« previous php.bugs (#29170) next »