<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Royal Deer Design &#187; php</title>
	<atom:link href="https://www.royaldeerdesign.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.royaldeerdesign.com</link>
	<description>Web Design Company</description>
	<lastBuildDate>Thu, 21 Aug 2025 15:08:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>CakePHP Tip &#8211; Creating static page</title>
		<link>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/</link>
		<comments>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 06:32:21 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business Tips]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php developer]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=2924</guid>
		<description><![CDATA[There is an easy way of creating a static page in CakePHP. This tip allows also to create non-authenticated pages among applications that needs authentication. For the purpose of this example, we will create a static page http://www.yourdomain.com/about. 1. Go to /app/config/routes.php, and add this line: Router::connect(‘/about&#8217;, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘about&#8217;)); 2.]]></description>
				<content:encoded><![CDATA[<p>There is an easy way of creating a static page in CakePHP. This tip allows also to create non-authenticated pages among applications that needs authentication.</p>
<p>For the purpose of this example, we will create a static page <u>http://www.yourdomain.com/about</u>.</p>
<p>1. Go to /app/config/routes.php, and add this line:</p>
<p><strong>Router::connect(‘/about&#8217;, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘about&#8217;));</strong></p>
<p>2.  Now, you can create an actual page with a content that you want to display on your new static &#8216;about&#8217; page. To do so, copy the file to:</p>
<p><strong>/app/views/pages/about.ctp</strong></p>
<p>Don&#8217;t forget to save this file with an extension /*.ctp.</p>
<p>3. You can now access this page at <u>http://www.yourdomain.com/about</u></p>
]]></content:encoded>
			<wfw:commentRss>https://www.royaldeerdesign.com/2011/09/cakephp-tip-creating-static-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to detect iPad/iPhone hardware with PHP</title>
		<link>https://www.royaldeerdesign.com/2011/05/how-to-detect-ipadiphone-hardware-with-php/</link>
		<comments>https://www.royaldeerdesign.com/2011/05/how-to-detect-ipadiphone-hardware-with-php/#comments</comments>
		<pubDate>Sat, 07 May 2011 13:17:39 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business Tips]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=3022</guid>
		<description><![CDATA[Below a very useful snippet of PHP code that detects whether the person viewing your website is on a iPad or iPhone. Thanks to this solution you can redirect visitors to a different version of your website or just to another page. if(strstr($_SERVER[&#8216;HTTP_USER_AGENT&#8217;],&#8217;iPhone&#8217;) &#124;&#124; strstr($_SERVER[&#8216;HTTP_USER_AGENT&#8217;],&#8217;iPad&#8217;)) { &#8230; }]]></description>
				<content:encoded><![CDATA[<p>Below a very useful snippet of PHP code that detects whether the person viewing your website is on a iPad or iPhone. Thanks to this solution you can redirect visitors to a different version of your website or just to another page.</p>
<p>if(strstr($_SERVER[&#8216;HTTP_USER_AGENT&#8217;],&#8217;iPhone&#8217;) || strstr($_SERVER[&#8216;HTTP_USER_AGENT&#8217;],&#8217;iPad&#8217;))<br />
{<br />
&#8230;<br />
} </p>
]]></content:encoded>
			<wfw:commentRss>https://www.royaldeerdesign.com/2011/05/how-to-detect-ipadiphone-hardware-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
