note 56458 added to function.get-browser
| From: | tisastar at hotmail dot com | Date: | Sat, 03 Sep 2005 08:39:36 +0000 |
| Subject: | note 56458 added to function.get-browser | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94686@lists.php.net to get a copy of this message | ||
After this script:
echo $_SERVER['HTTP_USER_AGENT'] . "\n\n";
$browser = get_browser(null, true);
print_r($browser);
I see only like this:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Array ( [browser_name_regex] => ^mozilla/.\.0
(compatible; msie 6\.0.*;.*windows nt 5\.1.*).*$ [browser_name_pattern] => Mozilla/?.0
(compatible; MSIE 6.0*;*Windows NT 5.1*)* [parent] => IE 6.0 [platform] => WinXP )
And that's all?!?!! Why?
I have: Apache 2.0.54
PHP 4.4.0 (The version is not important, checked with 5.0, too most...)
Win XP Pro
Can somebody help!
With my respect and sorry for my english...
----
Manual Page -- http://www.php.net/manual/en/function.get-browser.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56458
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56458&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56458&report=yes
Search -- http://master.php.net/manage/user-notes.php