<?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: Detecting Mobile Browsers Part 2</title>
	<atom:link href="http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/</link>
	<description>Whatever's tugging at my brain handles</description>
	<pubDate>Thu, 24 Jul 2008 00:34:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: marise</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6911</link>
		<dc:creator>marise</dc:creator>
		<pubDate>Mon, 14 Jul 2008 02:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6911</guid>
		<description>Hi,
I have the same question as Nick Fox. What's the entire PHP code that I'd need to add to add to allow desktop browsers through, but to redirect iPhone users to one page, and mobile users to another?  Any help would be really appreciated.
Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have the same question as Nick Fox. What's the entire PHP code that I'd need to add to add to allow desktop browsers through, but to redirect iPhone users to one page, and mobile users to another?  Any help would be really appreciated.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Bulmash</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6894</link>
		<dc:creator>Greg Bulmash</dc:creator>
		<pubDate>Mon, 07 Jul 2008 23:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6894</guid>
		<description>Right now the checkmobile() function returns "true" or "false".  It would have to be rejiggered to return an A/B/C option (mobile, non-mobile, iphone).  Then instead of if(checkmobile()), you'd have if (checkmobile()=="iphone") or something to that extent so that you could execute different code.</description>
		<content:encoded><![CDATA[<p>Right now the checkmobile() function returns "true" or "false".  It would have to be rejiggered to return an A/B/C option (mobile, non-mobile, iphone).  Then instead of if(checkmobile()), you'd have if (checkmobile()=="iphone") or something to that extent so that you could execute different code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NickFox</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6891</link>
		<dc:creator>NickFox</dc:creator>
		<pubDate>Mon, 07 Jul 2008 10:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6891</guid>
		<description>This is a great script, but what if I STILL want to direct iPhone users to another site (and not the mobile site), say iphone.mysite.com where all other mobiles are directed to mobile.mysite.com. (and desktop browsers still bypass and go to www.mysite.com)
Thx
Nick</description>
		<content:encoded><![CDATA[<p>This is a great script, but what if I STILL want to direct iPhone users to another site (and not the mobile site), say iphone.mysite.com where all other mobiles are directed to mobile.mysite.com. (and desktop browsers still bypass and go to <a href="http://www.mysite.com" rel="nofollow">http://www.mysite.com</a>)<br />
Thx<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Sangeelee</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6822</link>
		<dc:creator>Kevin Sangeelee</dc:creator>
		<pubDate>Sat, 17 May 2008 18:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6822</guid>
		<description>Regarding the exit() suggestion, w3c recommendations are that you include a little markup that provides a 'Click here' link in case the redirect fails to work, so perhaps a conditional bit of XHTML would be a better option.</description>
		<content:encoded><![CDATA[<p>Regarding the exit() suggestion, w3c recommendations are that you include a little markup that provides a 'Click here' link in case the redirect fails to work, so perhaps a conditional bit of XHTML would be a better option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spoom</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6805</link>
		<dc:creator>Spoom</dc:creator>
		<pubDate>Wed, 07 May 2008 15:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-6805</guid>
		<description>You might want to put an exit(); after the header(...); line, so that the page stops sending needlessly after the redirect is sent.  Like so:

if(checkmobile())
{
  header("Location:http://www.whatever-url-you-want.com");
  exit();
}
// etc.</description>
		<content:encoded><![CDATA[<p>You might want to put an exit(); after the header(...); line, so that the page stops sending needlessly after the redirect is sent.  Like so:</p>
<p>if(checkmobile())<br />
{<br />
  header("Location:http://www.whatever-url-you-want.com");<br />
  exit();<br />
}<br />
// etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brain Handles &#187; Blog Archive &#187; Detecting Mobile Browsers</title>
		<link>http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-3299</link>
		<dc:creator>Brain Handles &#187; Blog Archive &#187; Detecting Mobile Browsers</dc:creator>
		<pubDate>Thu, 06 Dec 2007 04:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainhandles.com/2007/12/05/detecting-mobile-browsers-part-2/#comment-3299</guid>
		<description>[...] UPDATE #2: Need help using the code in this article? I've written a second article with code to help you handle your mobile users when this piece of code detects them. [...]</description>
		<content:encoded><![CDATA[<p>[...] UPDATE #2: Need help using the code in this article? I've written a second article with code to help you handle your mobile users when this piece of code detects them. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
