Jump to content

Recommended Posts

Any help on this would be appreciated !

 

When I echo $_SERVER['HTTP_USER_AGENT'];  I get the following: 

 

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)

 

I can clearly tell from this that I am using Firefox 3.5.9.  HOWEVER, when I use get_browser(), I get back an array that has no reference (that I can understand) to Firefox 3.5.9. How come ??  Here's a dump of my get_browser() output.

 

browser_name_regex - ^mozilla/5\.0 (windows; .; windows nt 5\.1; .*rv:1\.9.*) gecko/.*$

browser_name_pattern - Mozilla/5.0 (Windows; ?; Windows NT 5.1; *rv:1.9*) Gecko/*

parent - Mozilla 1.9

platform - WinXP

win32 - 1

browser - Mozilla

version - 1.9

majorver - 1

minorver - 9

alpha - 1

frames - 1

iframes - 1

tables - 1

cookies - 1

javaapplets - 1

javascript - 1

cssversion - 2

supportscss - 1

beta -

win16 -

win64 -

backgroundsounds -

cdf -

vbscript -

activexcontrols -

isbanned -

ismobiledevice -

issyndicationreader -

crawler -

aol -

aolversion - 0

 

(I'm testing this from localhost on xampp. Still trying to get my live server to change the php.ini file so that I can see browscap.ini but I'm guessing this should make no difference.)

 

Thanx, Glenn

Alright -- never mind. Don't know what happened but it is working now. Perhaps the previous output was from the older browscap.ini. At any rate, this is the output I now get, which looks fine:

 

browser_name_regex - ^mozilla/5\.0 (windows; .*; windows nt 5\.1; .*; rv:1\.9\..*) gecko/.* firefox/3\.5.*$

browser_name_pattern - Mozilla/5.0 (Windows; *; Windows NT 5.1; *; rv:1.9.*) Gecko/* Firefox/3.5*

parent - Firefox 3.5

platform - WinXP

win32 - 1

browser - Firefox

version - 3.5

majorver - 3

minorver - 5

frames - 1

iframes - 1

tables - 1

cookies - 1

javaapplets - 1

javascript - 1

cssversion - 3

supportscss - 1

alpha -

beta -

win16 -

win64 -

backgroundsounds -

cdf -

vbscript -

activexcontrols -

isbanned -

ismobiledevice -

issyndicationreader -

crawler -

aol -

aolversion - 0

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.