PHP 4.0 Bug #9046: get_browser() does not work correctly
| From: | sebastian at in-medias-res dot net | Date: | Thu, 01 Feb 2001 09:55:56 +0000 |
| Subject: | PHP 4.0 Bug #9046: get_browser() does not work correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45506@lists.php.net to get a copy of this message | ||
From: sebastian@in-medias-res.net
Operating system: Suse Linux
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: get_browser() does not work correctly
When running get_browser()-example from the documentation the following output appears:
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; IMR Edition)
--------------------------------------------------------------------------------
browser_name_pattern: Mozilla/4\.0 (compatible; MSIE 5\.5; Windows NT.*)
parent: 0¼
version: 0¼
minorver: ¸
platform: ø¾
beta:
On another Server with the same browscap.ini it works correctly.
PHP was compiled with
'./configure' '--with-mysql'
'--with-apxs=/usr/local/apache-1.3.14/bin/apxs' '--enable-track-vars'
'--enable-calendar' '--with-gd=/imrhome/linux/libgd183/gd-1.3'
'--with-ttf'
The browscap entry in php.ini is correct.
How can I fix it ?
Regards,
Sebastian
--
Edit Bug report at: http://bugs.php.net/?id=9046&edit=1