php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5617 get_browser returns nothing
Submitted: 2000-07-15 08:53 UTC Modified: 2000-08-01 05:32 UTC
From: hgoba at freemail dot hu Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Release Candidate 1 OS: Win98 and Win98SE
Private report: No CVE-ID: None
 [2000-07-15 08:53 UTC] hgoba at freemail dot hu
<?php

 $browser = get_browser($HTTP_USER_AGENT);
 $browser = (array) $browser;

 // regular associative array printout here

?>

The browscap setting is ok, it works with the same setting
with PHP3.0.16.

I tested it under Apache and OmniHTTPD.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 12:50 UTC] stas@php.net
Please try latest CVS version and report if it still happens. If it does, please report your $HTTP_USER_AGENT string and what browscap.ini file you are using.
 [2000-08-01 05:32 UTC] andi@php.net
Should be fixed in the latest CVS. Please grab it or grab the latest snapshot at snaps.php.net. If you're still having problems then opena new bug report. If you don't compile PHP 4 on Windows by yourself then you can mail me <andi@zend.com> and I'll mail you new binaries to test with
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC