Php_Browser Mistake?
ajos1
Status: New User - Welcome
Joined: 30 Apr 2005
Posts: 1
Reply Quote
Php_browser mistake?


ie5x? Is it meant to be ie6x or not?


From the March 2005 version... I get from IE6 SP2... the following...

safe: 1
ie_version: ie5x
moz_version: Array
dom: 1
os: nt
os_number: 5.1
browser: ie
number: 6.0
full: Array
type: bro
math_number: 6.0


The proxy log is...

access_log:- - - [30/Apr/2005:18:39:49 +0100] "GET /l.php?l=p HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Hi ajos, no, that's not a mistake, the ieversion option is to deliver only a generic value:

:: Code ::
elseif ( $version_number >= 5 )
{
   $ie_version = 'ie5x';
}

I almost never use that, it just tells the application that the IE version in question is a reasonably modern one, this was of more concern a few years ago because IE 4 was missing dom and a lot of css properties.

In a sense, it is equivalent to the javascript test:

:: Code ::
if ( document.all )
{
.........

That was really its only purpose, to test general version functionality.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours