Re: Browser detection
| From: | Mark | Date: | Thu, 04 Apr 2002 00:42:55 +0000 |
| Subject: | Re: Browser detection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91444@lists.php.net to get a copy of this message | ||
probably your browscap.ini is outdated or missing.
On Wed, 3 Apr 2002 13:53:15 -0500, Joshua E Minnie wrote:
>Can anybody tell me why, when running on the same browser, I get 2
>different
>outputs.
>
>This is the output when I echo $HTTP_USER_AGENT: Mozilla/4.0
>(compatible; MSIE 6.0; Windows NT 5.0)
>
>This is the output when I use get_browser():
>
> browser_name_pattern.....Mozilla/4\.0.*
> parent...................Netscape 4.00
> browser..................Netscape
> version..................4.00
> majorver.................4
> minorver.................00
> frames...................1
> tables...................1
> cookies..................1
> backgroundsounds.........
> vbscript.................
> javascript...............1
> javaapplets..............1
> activexcontrols..........
> beta.....................1
>
>
>I am using IE 6.0 running PHP 4.1.2 binary for Windows.
>--
>Joshua E Minnie
>CIO
>josh@acsurf.net
>
>"Don't work for recognition, but always do work worthy of
>recognition."
>
>
>