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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 22:00:01 2026 UTC