#24548 [NEW]: get_browser() does not return platform
| From: | mikx at mikx dot de | Date: | Tue, 08 Jul 2003 21:20:15 +0000 |
| Subject: | #24548 [NEW]: get_browser() does not return platform | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-43486@lists.php.net to get a copy of this message | ||
From: mikx at mikx dot de
Operating system: Windows 2003 Server
PHP version: 4.3.2
PHP Bug Type: Unknown/Other Function
Bug description: get_browser() does not return platform
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 bug report at http://bugs.php.net/?id=24548&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24548&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24548&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24548&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24548&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24548&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24548&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24548&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24548&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24548&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24548&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24548&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24548&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24548&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24548&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24548&r=gnused