php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5549 lowercased infos
Submitted: 2000-07-13 05:07 UTC Modified: 2000-07-23 13:27 UTC
From: stefan at digiconcept dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: Windows NT 4.0 build 1381
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stefan at digiconcept dot net
New email:
PHP Version: OS:

 

 [2000-07-13 05:07 UTC] stefan at digiconcept dot net
get_browser works. fine. but, first, it returns all infos lowercased which makes it impossible to get infos of the parent-browser (btw: why does get_browser not do this automaticly?) an , second would it be nice if the languageinformations in the HTTP_USER_AGENT had been changed to * automaticly.
Mozilla/4.7 [en] (WinNT; U) matches only Mozilla/4.7 * (WinNT; U). Third, it returns an object, not an array!
(I use the browsercap.ini from asptracker.com). Thanks a lot!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 13:27 UTC] stas at cvs dot php dot net
Should be fixed in latest CVS (except for language part, which is .ini file matter, not PHP's).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 15:01:34 2024 UTC