<?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"
	>
<channel>
	<title>Comments on: Quick iPhone Media Detection</title>
	<atom:link href="http://www.csskarma.com/blog/quick-iphone-media-detection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csskarma.com/blog/quick-iphone-media-detection/</link>
	<description>display your</description>
	<pubDate>Sat, 22 Nov 2008 05:02:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: david</title>
		<link>http://www.csskarma.com/blog/quick-iphone-media-detection/#comment-19285</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 24 Jul 2008 05:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=67#comment-19285</guid>
		<description>there are some good examples of code available at handsetdetection.com which is also PHP oriented.</description>
		<content:encoded><![CDATA[<p>there are some good examples of code available at handsetdetection.com which is also PHP oriented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.csskarma.com/blog/quick-iphone-media-detection/#comment-14311</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 18 Jun 2008 13:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=67#comment-14311</guid>
		<description>ah, a typo. nice catch. I'll update. thanks</description>
		<content:encoded><![CDATA[<p>ah, a typo. nice catch. I&#8217;ll update. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren</title>
		<link>http://www.csskarma.com/blog/quick-iphone-media-detection/#comment-14310</link>
		<dc:creator>Warren</dc:creator>
		<pubDate>Wed, 18 Jun 2008 13:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=67#comment-14310</guid>
		<description>Your comment is correct, it is case-insensitive. But in the post you said it is case-sensitive.</description>
		<content:encoded><![CDATA[<p>Your comment is correct, it is case-insensitive. But in the post you said it is case-sensitive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.csskarma.com/blog/quick-iphone-media-detection/#comment-14296</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 18 Jun 2008 11:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=67#comment-14296</guid>
		<description>Are you sure about that? check the PHP manual. it says:
"Unlike strpos(), stripos() is case-insensitive."

http://us2.php.net/stripos</description>
		<content:encoded><![CDATA[<p>Are you sure about that? check the PHP manual. it says:<br />
&#8220;Unlike strpos(), stripos() is case-insensitive.&#8221;</p>
<p><a href="http://us2.php.net/stripos" rel="nofollow">http://us2.php.net/stripos</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren</title>
		<link>http://www.csskarma.com/blog/quick-iphone-media-detection/#comment-14282</link>
		<dc:creator>Warren</dc:creator>
		<pubDate>Wed, 18 Jun 2008 09:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=67#comment-14282</guid>
		<description>Two things to note:
1. &lt;code&gt;stripos&lt;/code&gt; is &lt;strong&gt;not&lt;/strong&gt; case sensitive, opposed to &lt;code&gt;strpos&lt;/code&gt; which is.
2. &lt;code&gt;stripos&lt;/code&gt; returns the position in the haystack where the needle occurs, not &lt;code&gt;true&lt;/code&gt;. It does return &lt;code&gt;false&lt;/code&gt; if the needle is not found, so it is more appropriate to check for a non-false value ($iphone !== false) to determine if iPhone or iPod exists.</description>
		<content:encoded><![CDATA[<p>Two things to note:<br />
1. <code>stripos</code> is <strong>not</strong> case sensitive, opposed to <code>strpos</code> which is.<br />
2. <code>stripos</code> returns the position in the haystack where the needle occurs, not <code>true</code>. It does return <code>false</code> if the needle is not found, so it is more appropriate to check for a non-false value ($iphone !== false) to determine if iPhone or iPod exists.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
