Bug #18288 Updated: Browscap.ini

From: Date: Fri, 26 Jul 2002 03:43:04 +0000
Subject: Bug #18288 Updated: Browscap.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15264@lists.php.net to get a copy of this message
ID: 18288 Updated by: rverlander@php.net Reported By: justincouto@msn.com -Status: Verified +Status: Bogus Bug Type: Scripting Engine problem Operating System: * PHP Version: 4.3.0-dev New Comment: Thats the environment variables that your browser sends. Saying that its Mozilla not a PHP bug. Bogusing. Previous Comments: ------------------------------------------------------------------------ [2002-07-15 13:19:34] justincouto@msn.com Broswecap.ini is not working correctly for me. When I use it I get this for a response: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461) -------------------------------------------------------------------------------- browser_name_pattern: Mozilla/4\.0.* parent: Netscape 4.0 browser: Netscape version: 4.0 majorver: #4 minorver: #0 frames: 1 tables: 1 cookies: 1 backgroundsounds: vbscript: javascript: 1 javaapplets: 1 activexcontrols: beta: You can see that I am using IE 6 and it is telling me I am using netscape. Do you know what the problem is? ------------------------------------------------------------------------ [2002-07-12 19:44:36] sniper@php.net Just edit the file and add a newline after that last line. This bug also is with php.ini (as the same parser is used for both). foobar=<<EOF>> <-- this causes it. foobar=value<<EOF>> <-- this otoh, works. ------------------------------------------------------------------------ [2002-07-11 20:23:35] justincouto@msn.com I just got the latest version of the browsecap.ini file from http://www.cyscape.com/browscap/ and I am getting this error mailed to me by my server. "PHP: Error parsing /usr/local/lib/browscap.ini on line 6300". I am not sure what the problem is. Line 6300 is the last line in the browscap file. Please advise me on what to do. Thanks, Justin Couto ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18288&edit=1

« previous php.bugs (#15264) next »