<?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>Aratide &#187; PHP</title>
	<atom:link href="http://www.aratide.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aratide.com</link>
	<description>programming and software tutorials</description>
	<lastBuildDate>Sat, 20 Feb 2010 08:40:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Finishing up the user login in PHP</title>
		<link>http://www.aratide.com/php/finishing-up-the-user-login-in-php/</link>
		<comments>http://www.aratide.com/php/finishing-up-the-user-login-in-php/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 06:34:38 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=246</guid>
		<description><![CDATA[In a previous article I covered an example of how to log a user in using an HTML form and PHP. In another article I talked some about the global SESSION variable. Now I will show you an example of how to validate the login against a MySQL database. In the following code it is]]></description>
		<wfw:commentRss>http://www.aratide.com/php/finishing-up-the-user-login-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding an element to the beginning of an array in PHP</title>
		<link>http://www.aratide.com/php/adding-an-element-to-the-beginning-of-an-array-in-php/</link>
		<comments>http://www.aratide.com/php/adding-an-element-to-the-beginning-of-an-array-in-php/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 04:06:57 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[add element]]></category>
		<category><![CDATA[array]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=244</guid>
		<description><![CDATA[// Create an array $a = new array&#40;&#34;apple&#34;, &#34;orange&#34;&#41;; &#160; // Prepend an element to the array array_unshift&#40;$a, &#34;raspberry&#34;&#41;; &#160; // Prepend a couple more elements to the array array_unshift&#40;$a, &#34;pineapple&#34;, &#34;watermelon&#34;&#41;;]]></description>
		<wfw:commentRss>http://www.aratide.com/php/adding-an-element-to-the-beginning-of-an-array-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding an element to the end of an array in PHP</title>
		<link>http://www.aratide.com/php/adding-an-element-to-the-end-of-an-array-in-php/</link>
		<comments>http://www.aratide.com/php/adding-an-element-to-the-end-of-an-array-in-php/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 03:47:37 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[add element]]></category>
		<category><![CDATA[array]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=241</guid>
		<description><![CDATA[There are two ways to add an element to the end of an array. // Create an array $a = new array&#40;&#34;apple&#34;, &#34;orange&#34;&#41;; &#160; // Add an element to the end of the array using the array_push() function array_push&#40;$a, &#34;banana&#34;&#41; &#160; // Alternative way of adding an element to the end of an array $a&#91;&#93;]]></description>
		<wfw:commentRss>http://www.aratide.com/php/adding-an-element-to-the-end-of-an-array-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove elements from an array in PHP</title>
		<link>http://www.aratide.com/php/how-to-remove-elements-from-an-array-in-php/</link>
		<comments>http://www.aratide.com/php/how-to-remove-elements-from-an-array-in-php/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 03:26:47 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[remove element]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=237</guid>
		<description><![CDATA[// Create an array $a = new array&#40;&#34;orange&#34;, &#34;apple&#34;, &#34;pineapple&#34;&#41;; &#160; // Remove the apple from the middle of the array unset&#40;$a&#91;1&#93;&#41;; &#160; // Create an associative array $a = new array&#40;&#34;dogs&#34; =&#62; 4, &#34;cats&#34; =&#62; 9, &#34;birds&#34; =&#62;2&#41;; &#160; // Remove the birds from the array unset&#40;$a&#91;'birds'&#93;&#41;;]]></description>
		<wfw:commentRss>http://www.aratide.com/php/how-to-remove-elements-from-an-array-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Another method for checking whether a URL exists</title>
		<link>http://www.aratide.com/php/another-method-for-checking-whether-a-url-exists/</link>
		<comments>http://www.aratide.com/php/another-method-for-checking-whether-a-url-exists/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 05:35:21 +0000</pubDate>
		<dc:creator>Brendan Warkentin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=166</guid>
		<description><![CDATA[In a previous article we demonstrated a simple method for discovering whether or not a URL exists. The following code accomplishes the same thing, but offers a little more control. /* Brendan Warkentin */ &#160; /* urlexists($url, $port = 80, $codes = array(200), $ssl = false) * * @Description: * Determine whether a url really]]></description>
		<wfw:commentRss>http://www.aratide.com/php/another-method-for-checking-whether-a-url-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allowing users to login using HTML and PHP</title>
		<link>http://www.aratide.com/php/using-forms-in-allowing-users-to-login-using-html-and-php/</link>
		<comments>http://www.aratide.com/php/using-forms-in-allowing-users-to-login-using-html-and-php/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:37:28 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=135</guid>
		<description><![CDATA[A form is an area of a web page where your website&#8217;s visitors can enter information and submit it. They might fill out a contact form, or use a small form to login to your system. They come in handy and in many cases are a necessity. In this tutorial we will kill two birds]]></description>
		<wfw:commentRss>http://www.aratide.com/php/using-forms-in-allowing-users-to-login-using-html-and-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sending emails with PHP</title>
		<link>http://www.aratide.com/php/sending-emails-with-php/</link>
		<comments>http://www.aratide.com/php/sending-emails-with-php/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:24:58 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=131</guid>
		<description><![CDATA[Sending an email is easy using PHP. Create a new file, copy and paste this code, and give it a spin! &#160; &#60;?php &#160; // Prepare the data $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com'.&#34;\r\n&#34;. 'Reply-To: webmaster@example.com'.&#34;\r\n&#34;. 'X-Mailer: PHP/'.phpversion&#40;&#41;; &#160; // Send the email mail&#40;$to, $subject, $message, $headers&#41;;]]></description>
		<wfw:commentRss>http://www.aratide.com/php/sending-emails-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking whether a URL exists in PHP</title>
		<link>http://www.aratide.com/php/checking-whether-a-url-exists-in-php/</link>
		<comments>http://www.aratide.com/php/checking-whether-a-url-exists-in-php/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 02:51:39 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[files]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=125</guid>
		<description><![CDATA[There is no built in function to check if a particular URL exists, but you can easily write one. The following is a simple method, or you can try this one which takes more code, but allows more control. Copy and paste the following code into a new file and try it out! &#160; &#60;?php]]></description>
		<wfw:commentRss>http://www.aratide.com/php/checking-whether-a-url-exists-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with session variables in PHP</title>
		<link>http://www.aratide.com/php/working-with-session-variables-in-php/</link>
		<comments>http://www.aratide.com/php/working-with-session-variables-in-php/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 01:36:27 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sessions]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=118</guid>
		<description><![CDATA[Let&#8217;s say you are creating a website where users need to login. How do you track a user&#8217;s id from page to page, or even verify that a user is logged in when they should be? You can use the global $_SESSION variable! The $_SESSION is an array where you can store your variable and]]></description>
		<wfw:commentRss>http://www.aratide.com/php/working-with-session-variables-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AJAX and PHP</title>
		<link>http://www.aratide.com/php/ajax-and-php/</link>
		<comments>http://www.aratide.com/php/ajax-and-php/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 05:42:54 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=104</guid>
		<description><![CDATA[AJAX in a word&#8230; SWEET! I love it. AJAX stands for Asynchronous JavaScript and XML. Basically it allows your web page to load content AFTER the web page has already loaded. This comes in handy when you want to perform actions on a web page or change content but don&#8217;t want to reload the entire]]></description>
		<wfw:commentRss>http://www.aratide.com/php/ajax-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving the &#8220;break-out&#8221; issue in iFrame Facebook applications</title>
		<link>http://www.aratide.com/php/solving-the-break-out-issue-in-iframe-facebook-applications/</link>
		<comments>http://www.aratide.com/php/solving-the-break-out-issue-in-iframe-facebook-applications/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 07:24:45 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[facebook application]]></category>
		<category><![CDATA[iframe]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=96</guid>
		<description><![CDATA[I&#8217;ve tinkered with Facebook apps enough to find out what works and what doesn&#8217;t. The most frustrating things I&#8217;ve had to deal with is when I&#8217;ve developed a Facebook app in an iframe. Using the canvas page rather than an iframe is great. You&#8217;ll encounter little to no weirdness. But if you&#8217;re like me, you]]></description>
		<wfw:commentRss>http://www.aratide.com/php/solving-the-break-out-issue-in-iframe-facebook-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The SimpleImage Class</title>
		<link>http://www.aratide.com/php/the-simpleimage-class/</link>
		<comments>http://www.aratide.com/php/the-simpleimage-class/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 04:48:00 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[image size]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[resize image]]></category>
		<category><![CDATA[save file]]></category>
		<category><![CDATA[server side scripting]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[upload file]]></category>
		<category><![CDATA[upload picture]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=65</guid>
		<description><![CDATA[In a previous tutorial we learned how to upload an image using HTML and PHP. Now we will talk some about the image functions built into PHP, specifically how they can be used to resize and save images. Let&#8217;s say the users on your website can upload their profile picture. You might be able to]]></description>
		<wfw:commentRss>http://www.aratide.com/php/the-simpleimage-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upload a file using PHP</title>
		<link>http://www.aratide.com/php/how-to-upload-a-file-using-php/</link>
		<comments>http://www.aratide.com/php/how-to-upload-a-file-using-php/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 21:33:16 +0000</pubDate>
		<dc:creator>Chad Challis</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[save file]]></category>
		<category><![CDATA[server side scripting]]></category>
		<category><![CDATA[upload file]]></category>
		<category><![CDATA[upload picture]]></category>
		<category><![CDATA[web page]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.aratide.com/?p=51</guid>
		<description><![CDATA[One of the cool things about server side scripting is the ability to upload files from a user&#8217;s computer to your web server. In this tutorial I will demonstrate PHP&#8217;s ability to capture uploaded files and save them on the web server. Our sample takes a user&#8217;s photo and saves it to a folder on]]></description>
		<wfw:commentRss>http://www.aratide.com/php/how-to-upload-a-file-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
