Bug #18288 Updated: Browscap.ini
| From: | sniper@php.net | Date: | Fri, 26 Jul 2002 10:22:52 +0000 |
| Subject: | Bug #18288 Updated: Browscap.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15322@lists.php.net to get a copy of this message | ||
ID: 18288
Updated by: sniper@php.net
Reported By: justincouto@msn.com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 4.3.0-dev
New Comment:
Are you sure it's not the browscap.ini file?
Anyway, this thing has not worked very well for a long time..
Previous Comments:
------------------------------------------------------------------------
[2002-07-26 02:49:08] justincouto@msn.com
The problem is that when I use the browsecap function, i am supposed to
get a bunch of information back. I get stuff that tells me I am using
netscape 4.0 and I am running IE 6. If this is working correctly, what
good is the browse cap function?
------------------------------------------------------------------------
[2002-07-25 23:43:04] rverlander@php.net
Thats the environment variables that your browser sends.
Saying that its Mozilla not a PHP bug.
Bogusing.
------------------------------------------------------------------------
[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