<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: future use: browser and OS info</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tobias</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/comment-page-1/#comment-6905</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/#comment-6905</guid>
		<description>a hit-tracker? Don&#039;t really need that, there&#039;s already a kick-ass one out there: &lt;a href=&quot;http://www.phpee.com&quot;&gt;PHLOGGER&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>a hit-tracker? Don&#039;t really need that, there&#039;s already a kick-ass one out there: <a href="http://www.phpee.com">PHLOGGER</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/comment-page-1/#comment-6906</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/#comment-6906</guid>
		<description>I&#039;ve played around with it... but didn&#039;t care for the interface... I&#039;ve been wanting to make a custom one for myself. a) just for the practice of it and b) so I get *exactly* the info I want, easily... I&#039;m so picky! LOL!</description>
		<content:encoded><![CDATA[<p>I&#039;ve played around with it&#8230; but didn&#039;t care for the interface&#8230; I&#039;ve been wanting to make a custom one for myself. a) just for the practice of it and b) so I get *exactly* the info I want, easily&#8230; I&#039;m so picky! LOL!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/comment-page-1/#comment-6907</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/#comment-6907</guid>
		<description>hehehehe, so what info exactly would that be?</description>
		<content:encoded><![CDATA[<p>hehehehe, so what info exactly would that be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/comment-page-1/#comment-6908</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/#comment-6908</guid>
		<description>For those of you doing skinnable sites, there&#039;s a really practical application for digging up  some of this information.

I perform* the following two checks on all of my pages:


if ((stristr($HTTP_USER_AGENT,&quot;avant&quot;)) or (stristr($HTTP_USER_AGENT,&quot;WAP&quot;)))
	{
	$skin = &quot;13&quot;;
	}
if (stristr($HTTP_USER_AGENT,&quot;lynx&quot;))
	{
	$skin = &quot;3&quot;;
	}


If the user_agent matches &#039;avant&#039; or &#039;wap&#039; they&#039;re either using AvantGo or a web-enabled phone, and they should be routed to the pda-friendly version of my site.

If their user_agent is lynx, they can handle the full text of my site, but it should be presented in a lynx-friendly manner.   Thus, the lynx-friendly skin.

Now if only we could set something up so that if version number matches 4.7, we could automatically install a &lt;i&gt;real&lt;/i&gt; browser on that machine...


* this code was written pre-PHP4.1.  PHP after 4.1 supports this version but it&#039;s deprecated...I really need to update this to the new version.</description>
		<content:encoded><![CDATA[<p>For those of you doing skinnable sites, there&#039;s a really practical application for digging up  some of this information.</p>
<p>I perform* the following two checks on all of my pages:</p>
<p>if ((stristr($HTTP_USER_AGENT,&#034;avant&#034;)) or (stristr($HTTP_USER_AGENT,&#034;WAP&#034;)))<br />
	{<br />
	$skin = &#034;13&#034;;<br />
	}<br />
if (stristr($HTTP_USER_AGENT,&#034;lynx&#034;))<br />
	{<br />
	$skin = &#034;3&#034;;<br />
	}</p>
<p>If the user_agent matches &#039;avant&#039; or &#039;wap&#039; they&#039;re either using AvantGo or a web-enabled phone, and they should be routed to the pda-friendly version of my site.</p>
<p>If their user_agent is lynx, they can handle the full text of my site, but it should be presented in a lynx-friendly manner.   Thus, the lynx-friendly skin.</p>
<p>Now if only we could set something up so that if version number matches 4.7, we could automatically install a <i>real</i> browser on that machine&#8230;</p>
<p>* this code was written pre-PHP4.1.  PHP after 4.1 supports this version but it&#039;s deprecated&#8230;I really need to update this to the new version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/comment-page-1/#comment-6909</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/14/future-use-browser-and-os-info/#comment-6909</guid>
		<description>ROFL Amy about the 4.7.  ;)

I&#039;ve been meaning to do something like that for a while.

I&#039;ve been meaning to do a lot of things for a while... lol  :)  Thanks for the tip!
</description>
		<content:encoded><![CDATA[<p>ROFL Amy about the 4.7.  <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#039;ve been meaning to do something like that for a while.</p>
<p>I&#039;ve been meaning to do a lot of things for a while&#8230; lol  <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Thanks for the tip!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

