<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/browser</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 08 Oct 2008 06:54:04 GMT</pubDate>
<item>
<title>(PHP) detect browser - iTony</title>
<link>http://snipplr.com/view/8812/detect-browser/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 03 Oct 2008 17:32:27 GMT</pubDate>
<guid>http://snipplr.com/view/8812/detect-browser/</guid>
</item>
<item>
<title>(PHP) Browser class - localhorst</title>
<link>http://snipplr.com/view/5452/browser-class/</link>
<description><![CDATA[ <p>Identifies the user's Operating system, browser and version by parsing the HTTP_USER_AGENT string sent to the server
For browsers, it should correctly identify all versions of:
		Amaya
		Galeon
		iCab
		Internet Explorer
		For AOL versions it will identify as Internet Explorer (AOL) and the version
		will be the AOL version instead of the IE version.
		Konqueror
		Lynx
		Mozilla
		Netscape Navigator/Communicator
		OmniWeb
		Opera
		Pocket Internet Explorer for handhelds
		Safari
		WebTV</p> ]]></description>
<pubDate>Mon, 17 Mar 2008 01:27:50 GMT</pubDate>
<guid>http://snipplr.com/view/5452/browser-class/</guid>
</item>
<item>
<title>(PHP) Redirect a browser via PHP - smartalec</title>
<link>http://snipplr.com/view/4557/redirect-a-browser-via-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 14 Jan 2008 09:02:27 GMT</pubDate>
<guid>http://snipplr.com/view/4557/redirect-a-browser-via-php/</guid>
</item>
<item>
<title>(PHP) Browser Detection - llbbl</title>
<link>http://snipplr.com/view/3117/browser-detection/</link>
<description><![CDATA[ <p>echo ( browser_detection( 'number' ) .''. 
browser_detection( 'browser' ) .''.  
browser_detection( 'os' ) .''.  
browser_detection( 'os_number' ) ); 

Outputs (browser version, browser, os, os number): 
1.5
moz
nt
5.1


if ( ( browser_detection( 'browser' ) == 'ie' ) 
&amp;&amp; 
( browser_detection( 'number' ) >= 5 ) )
{
echo 'it is Internet Explorer ' . 
browser_detection( 'number' );
// or anything else you want to happen of course
}</p> ]]></description>
<pubDate>Mon, 02 Jul 2007 13:26:46 GMT</pubDate>
<guid>http://snipplr.com/view/3117/browser-detection/</guid>
</item>
<item>
<title>(PHP) get browser - sorehead</title>
<link>http://snipplr.com/view/1359/get-browser/</link>
<description><![CDATA[ <p>This function determines visitor browser.</p> ]]></description>
<pubDate>Mon, 09 Oct 2006 11:51:15 GMT</pubDate>
<guid>http://snipplr.com/view/1359/get-browser/</guid>
</item>
<item>
<title>(PHP) Browser Detection - mail_json</title>
<link>http://snipplr.com/view/1018/browser-detection/</link>
<description><![CDATA[ <p>Heres how to use
print_r(browser_detection('full'));

We can also use this script
print "IP: ". $_SERVER['REMOTE_ADDR'].""; ### IP ADDRESS ##
print "Browser:" . $_SERVER["HTTP_USER_AGENT"].""; ## Browser
print "OS: ". $_ENV["OS"]; ### OS</p> ]]></description>
<pubDate>Tue, 05 Sep 2006 12:36:34 GMT</pubDate>
<guid>http://snipplr.com/view/1018/browser-detection/</guid>
</item>
</channel>
</rss>