Coder Profile - Show off your skills, get a coder profile.
 
 
 
  
Posted: 4.71 Years Ago 

Yuripro84
United States
Contrib Level: 10
Total Posts: 1,132
OK, I'm learning PHP (finally, I am serious about it, and not JUST understanding it from previous scripts, at least I have a good foundation).

Anyways, I noticed that MSIE stands for Internet Explorer (I'm checking for the browser type so I can reject IE users).

But anyways, what's the code for FireFox, Opera, Safari, and some others? Anyone know? Thanks!

I just really want firefox if anyone knows it :D
Posted: 4.71 Years Ago 

Padrone
United Kingdom
Contrib Level: 3
Total Posts: 54
I'm not sure what the code is, Just guess and hope for the best, Or use my best friend google :) It never fails, well most of time.

- Padrone -
Posted: 4.71 Years Ago 

Darkvengance
United States
Contrib Level: 8
Total Posts: 549
Here are all the codes I found:

Opera: opera
WebTV: webtv
MS Internet Explorer: msie
NetPositive: netpositive
MS Pocket Internet Explorer: mspie
Galeon: galeon
Konqueror: Konqueror
iCab: icab
OmniWeb: omniweb
Phoenix: Phoenix
Firebird: firebird
Mozilla: Mozilla
Lynx & Amaya: libwww
Safari: safari
Netscape: netscape
Posted: 4.71 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
Be aware tho that people can change the headers... so they could still use IE and trick your scripts in to thinking it is say firefox.

Also some totally remove that specific header for privacy reasons (norton internet security for example).

Kind regards,
Scott
Posted: 4.70 Years Ago 

Darkvengance
United States
Contrib Level: 8
Total Posts: 549
Yeh it's very easy to change headers, through firfox you can do it through the about:config page. Or you can fake a browser using CURL in php (don't ask I've been doing a lot of work with CURL lately).

Just check and see if the header is there and if not flag it as unknown, but whether you let it pass or not is up to you.
Posted: 4.70 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
You can change the header with the good old:
CODE: Copy / Restore  ::  Remove Scroll Bars
  1. header();
function.
Posted: 4.70 Years Ago 

Padrone
United Kingdom
Contrib Level: 3
Total Posts: 54
Be very carful!

Laugh Out Loud

- Padrone -
Posted: 4.69 Years Ago 

Yuripro84
United States
Contrib Level: 10
Total Posts: 1,132
Wait, VBAssassin, are you saying you can change the user's headers with this? Or, they can change their own?

Anyways, thanks, I was just wondering because I only like Firefox, and in the case I ever want to block out certain browsers, noobies who still use Internet Explorer wouldn't know how to change headers lol. IE sucks, and I wanna kill it. Thanks guys.

You know too much darkvengance/vbassassin lol
Posted: 4.69 Years Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,730
With PHP being on the server you can change w/e headers the server would send to the browser.

With a firefox plugin you can change the headers yourself that are sent from your browser to the server.

Kind regards,
Scott
Posted: 4.58 Years Ago 

Izzmo
United States
Contrib Level: 12
Total Posts: 1,982
Post Quote - Direct Reference
I laught at your stupidity. I won't go into details as I don't want this to become a browser war.

Without MSIE, FF would not exist. IE7 now has better CSS standards that Firefox as well. So, lets see, the only thing FF has on IE now.. oh plug-ins.. WHOOPTIE DO! Get http://www.Maxthon.com if you really want plugins. Plus, Maxthon itself is better than FF because it offers more and still uses the IE engine.
Posted: 4.58 Years Ago 

elbekko
Leuven, Belgium
Contrib Level: 5
Total Posts: 163
ROFLMAO. Dear lord, you are funny.

IE7 a better CSS engine than FF? Keep dreaming, it won't happen for ages.
Page of 6 :: Next Page >>
 
 
Latest News About Coder Profile
Coder Profile Poll
Which sounds better on your coder profiles, and makes more sense to you (think twitter, facebook, etc)?

Followers / Following
Fans / Following
Fans / Fan Of


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.49 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved