<?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: 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 style</description> <lastBuildDate>Tue, 31 Jan 2012 16:02:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: david</title><link>http://www.csskarma.com/blog/quick-iphone-media-detection/comment-page-1/#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-page-1/#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&#039;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-page-1/#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-page-1/#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:
&quot;Unlike strpos(), stripos() is case-insensitive.&quot;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">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-page-1/#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>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/15 queries in 0.100 seconds using disk: basic

Served from: www.csskarma.com @ 2012-02-11 05:49:49 -->
