PHP 4.0 Bug #8419: get_browser() returns false
| From: | chris-php-bugs at improbable dot org | Date: | Tue, 26 Dec 2000 07:35:39 +0000 |
| Subject: | PHP 4.0 Bug #8419: get_browser() returns false | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42262@lists.php.net to get a copy of this message | ||
From: chris-php-bugs@improbable.org
Operating system: Linux (Mandrake 7)
PHP version: 4.0.4
PHP Bug Type: *Function Specific
Bug description: get_browser() returns false
$ua = get_browser();
print_r($ua);
There are no error messages that I've been able to find - nothing in the php error log or the
apache log. I've tested with a number of user-agent values and it has returned false in every
case. (It is checking $HTTP_USER_AGENT, though - unset($HTTP_USER_AGENT) will cause an error
indicating that it couldn't find the variable)
I've verified that it is picking up the correct file and that the file is readable by the
apache process (at least using the php file functions).
--
Edit Bug report at: http://bugs.php.net/?id=8419&edit=1