Page: 1, 2  Next

msgdew
Status: Curious
Joined: 26 Nov 2006
Posts: 5
Back to top
Posted: Nov 26, 06, 10:57    Browser Mis-Identified
Constantly getting browser is netscape 4 (no netscape installed) but I am using ie 7 and firefox 2.0; please can someone tell me how to fix this problem. Please pm me if it is a long repair plan needed, thanks to all.
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Back to top
Posted: Nov 26, 06, 11:42    
Well, since you are giving no details or information about anything, it's pretty hard to give you an answer.

But I will make a guess: you are referring to the php browser detection script, maybe using the my computer information script.

Which you apparently setup wrong.

Note the page I linked to, that's running the php browser detection script, with the my computer information script. What does it say? if it says your browser, you made some mistake on your setup. What that is is not possible to guess, since there are so many places people can make mistakes.
msgdew
Status: Curious
Joined: 26 Nov 2006
Posts: 5
Back to top
Posted: Nov 26, 06, 14:27    
guess I didn't put much info because I don't know what I'm suppose to put up; I go to most web sites and they tell me to upgrade my browser and that I'm using netscape 4 but I am not, I am either using ie 7 or firefox 2.0 and don't know how to change the browser.ini file or whatever I need to do to get the sites to reconize the correct browser. I can go to my banks site and it has test your browser amplet which I click on and it will correctly identify either ie7 or firefox. I really don't know what to do or ask for.
msgdew
Status: Curious
Joined: 26 Nov 2006
Posts: 5
Back to top
Posted: Nov 26, 06, 14:31    
Your Computer
= 10 ) ) { $os .= 'OS X'; } elseif ( $browser_info[5] == 'lin' ) { $os .= ( $browser_info[6] != '' ) ? 'Distro: ' . ucfirst ($browser_info[6] ) : 'Smart Move!!!'; } elseif ( $browser_info[6] == '' ) { $os .= ' (version unknown)'; } else { $os .= strtoupper( $browser_info[6] ); } $full .= $os . '

Current Browser:
'; if ($browser_info[0] == 'moz' ) { $a_temp = $browser_info[count( $browser_info ) - 1];// the moz array is last item $full .= ($a_temp[0] != 'mozilla') ? 'Mozilla/ ' . ucfirst($a_temp[0]) . ' ' : ucfirst($a_temp[0]) . ' '; $full .= $a_temp[1] . '
'; $full .= 'ProductSub: '; $full .= ( $a_temp[4] != '' ) ? $a_temp[4] . '
' : 'Not Available
'; $full .= ($a_temp[0] != 'galeon')?'RV version: ' . $a_temp[3] : ''; } elseif ( $browser_info[0] == 'ns' ) { $full .= 'Netscape '; $full .= $browser_info[1] . '
'; } else { $full .= ($browser_info[0] == 'ie') ? strtoupper($browser_info[7]) : ucwords($browser_info[7]); $full .= ' ' . $browser_info[1]; } echo $full . '

'; ?>
Current Screen Resolution
1280 x 1024 pixels

JavaScript
JavaScript is enabled.

I got this info from that site but not sure how u how u run the test.
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Back to top
Posted: Nov 26, 06, 19:14    
Ok, I honestly have no idea of what you are talking about then.

Your MSIE 7 will identify as msie 7, your firefox 2 will identify as firefox.

Unless you change the defaults in various locations, this is what they will identify as.

I have no idea what you are asking, what you are trying to do, or really anything else, sorry.

In the future, try putting enough information in your initial posting so that someone reading it can at least make some guess what you are talking about.

Unless you changed the registry in windows, msie will identify as msie, and unless you changed some config files firefox will identify as mozilla firefox.

The code snipped you posted above is some one who has no idea of anything trying to run some of the browser detection programming without setting anything up like you need to, so I'm not going to spend any time on that.

Anyway, if you're talking about a single website with incompetently done browser detection, then I can't make their browser detection work, and if you're talking about something else, I have no idea what that something is.

Many banks have terrible website programming, this has been a problem for a long time. Why? It's hard to say, but one reason is that banks are cheap corporations that dont' value quality website work. You'd think this wouldn't be the case, but banks have been the low end of the programming ladder for many many years now. Working for banks sucks, in other words, because they don't care about quality.

If we can actually figure out what you are asking, I'll leave this thread, otherwise it's going to go away.
jalarie
Status: Interested
Joined: 16 Sep 2005
Posts: 11
Back to top
Posted: Nov 28, 06, 9:25    
Go to the following link and look at the "user agent" line. That is what is being supplied by your browser. The browser-detection scripts all start with that and then try to reach an interesting conclusion. Many places are not yet ready for IE7, so they will get a wrong answer, and many haven't bothered to worry about Firefox, so they will be wrong, too. This is a simple echo back of what your browser is saying:

<mod edit: the linked to site is not loading, but you can get your useragent string at the bottom of this page, right above the 'Manual Downloads' header.>
msgdew
Status: Curious
Joined: 26 Nov 2006
Posts: 5
Back to top
Posted: Dec 1, 06, 8:14    
where and how do I change the user agent string so it will reflect ie 7 for ie 7 and firefox 2 for firefox2........as far as jeffd goes, if I knew what the heck was the problem I would know how to ask the question, provide details, or fix it myself; thought I explained it very simple (websites say I have netscape 4 when I don''t have it loaded; must be something screwed up, browser. ini, user agent string or something else)...also where would I make the mods to change the way the browsers are identified; maybe I can fix them
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Back to top
Posted: Dec 1, 06, 13:54    
You have to go to the webpages linked to above you. Go to the bottom of the page. Read the useragent string. What does it say?

That is your user agent string.

Firefox has an extension that is called useragent switcher.

install it. That allows you to change what useragent Firefox reports to the website.

A good choice is MSIE 6 on Windows XP.

That is a default.

I do not recommend average users do what is required to changed the MSIE 7 useragent string.

Please email the webmaster/company that is running the website in question and tell them to enter into the real world, fix their stupid browser detection, which is currently rejecting ALL modern, up to date browsers, including MSIE 7 and FF 21.

If you take action, it will get fixed, if you keep talking about it, it won't.

No website on the planet that expects to cater to average windows users can afford to block MSIE 7 or FF 2.

So it's just a stupid website programmer who was incompetent.

What else can I say?

Don't change your MSIE 7 useragent, it's not a good idea.

And it's generally not a good idea to change FF 2 either, but you can.

You're acting like this is happening on all websites, it's not, it's probably just one or two that you happen to frequent, most websites have no interest in turning away almost all their users before they can enter.
vkaryl
Status: Contributor
Joined: 31 Oct 2004
Posts: 273
Location: back of beyond - s. UT, closer to Vegas than SLC
Back to top
Posted: Dec 1, 06, 15:38    
As an aside: I'm using FF2 and occasionally IE7 (though as usual with MS offerings I severly limit potential contamination) - I have yet to see any error message such as the OP seems to be getting. I spend a fair amount of time online each day, and while my surfing habits do NOT include sites which are "suspect" (pirating sites, porn sites, etc.) I do "get around".

I'm not seeing any problem surfing anywhere with either browser.

[Edit: UA string from above-linked "checker" page just now - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0]
msgdew
Status: Curious
Joined: 26 Nov 2006
Posts: 5
Back to top
Posted: Dec 2, 06, 20:49    
Mozilla/4.0 ....this is what it said I was using....how do I change it to what vkaryl has for his user string which should be same as mine since we are using same browsers
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours