Page 1 of 1
Get Browser type
Posted: Thu Aug 26, 2004 4:06 am
by Cesar
Help!
What can I know name of web-browser and it version.
I like know come out from a version of web-browser is larger than MSIE 5.0.
Thank you.
Posted: Thu Aug 26, 2004 4:10 am
by JayBird
Contents of the User-Agent: header from the current request, if there is one. This is a string denoting the user agent being which is accessing the page. A typical example is: Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586). Among other things, you can use this value with [php_man]get_browser[/php_man]() to tailor your page's output to the capabilities of the user agent.
Posted: Thu Aug 26, 2004 5:48 am
by Cesar
Thanks.
But I like be after HTTP_USER_AGENT this finde name and version in vars each by each.
Thanks
Posted: Thu Aug 26, 2004 6:10 am
by d_d
http://www.zytrax.com/tech/web/browser_ids.htm
and even more
http://www.pgts.com.au/pgtsj/pgtsj0208c.html
You can't be 100% certain because some browers send MSIE 6 string as a work around for sites that reject anything but MSIE for no reason.
Posted: Thu Aug 26, 2004 10:07 am
by timvw