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
 [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 05:01:31 2024 UTC