|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-17 22:12 UTC] iliaa@php.net
[2002-10-08 21:47 UTC] sniper@php.net
[2007-10-12 14:21 UTC] brett dot jr dot alton at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 19:00:01 2025 UTC |
Hi Gurus ! (Running PHP 4.2.1 with a Apache/1.3.26 server installed from the Suse Linux 8.0 disks). Using the following script found in the documentation : <?php function list_array ($array) { while (list ($key, $value) = each ($array)) { $str .= "<b>$key:</b> $value<br>\n"; } return $str; } echo "$HTTP_USER_AGENT<hr>\n"; $browser = get_browser(); echo list_array ((array) $browser); ?> I only get the $HTTP_USER_AGENT value and nothing more, the get_browser() function returns FALSE. My php.ini file point to the browscap.ini file. This is confirmed by executing phpinfo() Looking at the bug history I saw that this seems to be a recurent problem. Anything you can do ? Thanks ! Philippe