php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32562 browscap error parsing
Submitted: 2005-04-04 07:38 UTC Modified: 2005-04-04 14:14 UTC
From: jsgoupil at lookstrike dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.3 OS: WinXP
Private report: No CVE-ID: None
 [2005-04-04 07:38 UTC] jsgoupil at lookstrike dot com
Description:
------------
The browscap line in php.ini point to a file browscap.ini
I have downloaded the latest version of the browscap.ini and there are some problems. When I restart the Apache Server, I get errors like "Error parsing "...browscap.ini" on line xxxx"
I get the same error twice...

It seems that the char ! (exclamation mark) is not allowed by the parser.


Oh, and something more, now in PHP5 it seems that there is a folder "extras", and the default value in php.ini is "extra/browscap.ini", you should add an s to extra ?


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-04 09:17 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #27372

 [2005-04-04 14:14 UTC] jsgoupil at lookstrike dot com
It's strange... I search before posting with 
"parse error browscap"
"parsing error browscap"
"parse error get_browser"

with the ALL option and I have got no result, that's why I post that one.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Aug 13 21:01:27 2024 UTC