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:

Seems to be a bug in 4.3.2 - downgraded to 4.3.0 and get_browser() is
able to detect the platform of much more HTTP_USER_AGENT strings now.


Previous Comments:
------------------------------------------------------------------------

[2003-07-08 16:44:11] mikx at mikx dot de

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.

------------------------------------------------------------------------

[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

Reply via email to