TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   Http_use_agent (http://www.talkphp.com/absolute-beginners/3833-http_use_agent.html)

sarmenhb 01-04-2009 01:43 AM

Http_use_agent
 
hi,

i was wondering what each peice of data meant when running http_user_agent?

for example for firefox is shows this

Code:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5-
is mozilla the browser engine that is used? i noticed ie has been using mozilla for a long time but version 4.0.

if that is the browser engine then it looks like there is three known types. Mozilla, Opera, & Dillo(linux)



here are a list browsers that i got info from.

Code:

Firefox
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5-

Chrome
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.36 Safari/525.19-

Opera
Opera/9.63 (Windows NT 5.1; U; en) Presto/2.1.1-

IE6 - PNG Problem
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)-

IE7
Mozilla/4.0 , MSIE 7.0

IE8
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)-

Netscape
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6-

Avant
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)-

Safari
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1-

AOL Explorer - MSIE 6.0 PNG Problem
Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1; SV1)-


Maxthon2
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)-

Flock 2.0.3
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008121620 Firefox/3.0.5 Flock/2.0.3-

Sea Monkey
Mozilla/5.0 , SeaMonkey

Epiphany(linux)
Mozilla/5.0 Epiphany

Galeon
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14.eol) Gecko/20070505 (Debian-1.8.0.15~pre080614h-0etch1) Galeon/2.0.2 (Debian Package 2..2-4)-


Dillo (linux)
Dillo

Konqueror (linux)
Mozilla/5.0 , Konqueror

Iceape (linux)
Mozilla/5.0 , Iceape

IceWeasel (linux)
Mozilla/5.0 , Iceweasel

Kazehakase (linux)
Mozilla/5.0 , Kazehakase

Shiretoko
Mozilla/5.0 , Shiretoko

K-Meleon
Mozilla/5.0 , K-Meleon

Minefield
Mozilla/5.0 , Minefield


etoolbox 01-04-2009 02:36 AM

Mozilla was Netscape's internal name for their Netscape Navigator web browser, and the Mozilla/X.Y version numbers followed their browser versions.

For whatever reason, Microsoft decided to use the Mozilla/X.Y as well (possibly to show they were compatible with that version of NN) but they included they included the e.g. "compatible; MSIE 6.0;" bit in brackets to show the actual browser. Other browser vendors followed suit and they now all seem to show Mozilla/5.0 for the current version.

MSIE uses Microsoft's Trident rendering engine.

Firefox and other Firefox/Mozilla based products use the Gecko rendering engine, which is open source.

Opera uses its own Presto rendering engine.

Konqueror uses KHTML, an open source rendering engine.

Apple took KHTML and developed it futher, calling it Apple WebKit, and supposedly pass changes back to the KHTML developers. Webkit is used in Apple's Safari and Google's Chrome web browsers.


All times are GMT. The time now is 06:08 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0