ID: 24548
User updated by: mikx at mikx dot de
Reported By: mikx at mikx dot de
Status: Open
Bug Type: Unknown/Other Function
Operating System: Windows 2003 Server
PHP Version: 4.3.2
New Comment:
Just figured out that get_browser() does not return a fixed set of
informations - the platform information is only given if resolved.
It can't resolve most versions of Internet Explorer 6, not sure if this
is a bug or a weakness of the browscap.ini.
Previous Comments:
------------------------------------------------------------------------
[2003-07-08 16:20:15] mikx at mikx dot de
Description:
------------
The object returned from get_browser() function does not contain the
platform information as described in the documentation and as usual in
prior versions.
It's more a missing feature than a bug, but it brings some old scripts
relying on this feature into trouble.
The browscap.ini is the latest "official" one from Gary Keith.
Reproduce code:
---------------
$browser = get_browser();
foreach ($browser as $name => $value) {
print "<b>$name</b> $value <br />\n";
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24548&edit=1