<?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>PHPDone &#187; PHP</title>
	<atom:link href="http://www.phpdone.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpdone.com/blog</link>
	<description>Teach Yourself PHP</description>
	<lastBuildDate>Thu, 08 Apr 2010 09:10:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Guess Gender ;-)</title>
		<link>http://www.phpdone.com/blog/2009/11/guess-gender/</link>
		<comments>http://www.phpdone.com/blog/2009/11/guess-gender/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 09:26:38 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Arrays]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=124</guid>
		<description><![CDATA[Just a simple function to demonstrate the use of a few very simple but useful functions of PHP. This function simply accepts a parameter ($relation) and returns the &#8220;Gender (sex)&#8221; of the relationship.
Here&#8217;s the function:
&#60;?php
function guessGender($relation)
{
 $gen = "";
 $relation = ucwords(strtolower($relation));
 $relations = array(
      "Male" =&#62; array("Husband", "Son", "Father", "Brother"),
      "Female" =&#62; array("Wife", "Daughter", [...]]]></description>
			<content:encoded><![CDATA[<p>Just a simple function to demonstrate the use of a few very simple but useful functions of PHP. This function simply accepts a parameter ($relation) and returns the &#8220;Gender (sex)&#8221; of the relationship.</p>
<p>Here&#8217;s the function:</p>
<pre class="brush:php">&lt;?php
function guessGender($relation)
{
 $gen = "";
 $relation = ucwords(strtolower($relation));
 $relations = array(
      "Male" =&gt; array("Husband", "Son", "Father", "Brother"),
      "Female" =&gt; array("Wife", "Daughter", "Mother", "Sister")
 );

 foreach($relations as $gender =&gt; $relationType){
      if(in_array($relation, $relationType)){
           $gen = $gender;
      }
 }

 return $gen;
}
?&gt;</pre>
<p>For the ease of your understanding, I have linked each PHP function, language construct and other statements to Official PHP manual. Simply click on the provided links (in above code) to see the detailed information on each.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/guess-gender/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple File Browser with Pictures Explorer</title>
		<link>http://www.phpdone.com/blog/2009/11/simple-file-browser-with-pictures-explorer/</link>
		<comments>http://www.phpdone.com/blog/2009/11/simple-file-browser-with-pictures-explorer/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 21:05:45 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Explorer]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Files Management]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=118</guid>
		<description><![CDATA[This simple file browser, written in PHP, is a very useful library of functions. This library provides basic functionality of file and directory browsing along with many configurable options.
However this is a basic version, and I just wrote it to use at a client&#8217;s website. I will be extending it more to provide other useful [...]]]></description>
			<content:encoded><![CDATA[<p>This simple file browser, written in PHP, is a very useful library of functions. This library provides basic functionality of file and directory browsing along with many configurable options.</p>
<p>However this is a basic version, and I just wrote it to use at a client&#8217;s website. I will be extending it more to provide other useful options like Delete, Move, Copy, Rename and etc.</p>
<p>Currently, it provides listing of directories and files. Navigation thru directories, opening files. You can also use it as an Image/Picture Explorer. There&#8217;s a file &#8220;fb.php&#8221; included which demonstrate the usage at front-end. Following files are included in this package:</p>
<ul>
<li>fb.config.php: the configuration file</li>
<li>fb.lib.php: the main library file, contains all functions</li>
<li>fb.css: the sample style sheet</li>
<li>fb.php: the sample usage file</li>
<li>images folder: includes icons for file types</li>
</ul>
<p>Download source code here <a href="http://www.phpdone.com/blog/wp-content/uploads/2009/11/file_browser.zip">File Browser Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/simple-file-browser-with-pictures-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript</title>
		<link>http://www.phpdone.com/blog/2009/11/javascript/</link>
		<comments>http://www.phpdone.com/blog/2009/11/javascript/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:36:04 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=113</guid>
		<description><![CDATA[All about JavaScript and related to PHP also.
]]></description>
			<content:encoded><![CDATA[<p>All about JavaScript and related to PHP also.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web 2.0</title>
		<link>http://www.phpdone.com/blog/2009/11/web-2-0/</link>
		<comments>http://www.phpdone.com/blog/2009/11/web-2-0/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:18:11 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=109</guid>
		<description><![CDATA[All about Web 2.0 &#8211; Standards, Implementation, Uses and etc.
]]></description>
			<content:encoded><![CDATA[<p>All about Web 2.0 &#8211; Standards, Implementation, Uses and etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/web-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding PHP inside HTML</title>
		<link>http://www.phpdone.com/blog/2009/11/embedding-php-inside-html/</link>
		<comments>http://www.phpdone.com/blog/2009/11/embedding-php-inside-html/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:19:08 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=77</guid>
		<description><![CDATA[Embed PHP code inside HTML to add some dynamic functionality to your pages.

]]></description>
			<content:encoded><![CDATA[<p>Embed PHP code inside HTML to add some dynamic functionality to your pages.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/N-T9Oz4RSAM&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/N-T9Oz4RSAM&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/embedding-php-inside-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Common Errors (Part 3)</title>
		<link>http://www.phpdone.com/blog/2009/11/common-errors-part-3/</link>
		<comments>http://www.phpdone.com/blog/2009/11/common-errors-part-3/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:17:28 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=75</guid>
		<description><![CDATA[Common errors you may come across when programming, and the solutions.

]]></description>
			<content:encoded><![CDATA[<p>Common errors you may come across when programming, and the solutions.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/sTNGSN_2wFY&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/sTNGSN_2wFY&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/common-errors-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common Errors (Part 2)</title>
		<link>http://www.phpdone.com/blog/2009/11/common-errors-part-2/</link>
		<comments>http://www.phpdone.com/blog/2009/11/common-errors-part-2/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:16:17 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=73</guid>
		<description><![CDATA[Common errors you may come across when programming, and the solutions.

]]></description>
			<content:encoded><![CDATA[<p>Common errors you may come across when programming, and the solutions.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/q5opW7ZW198&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/q5opW7ZW198&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/common-errors-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common Errors (Part 1)</title>
		<link>http://www.phpdone.com/blog/2009/11/common-errors-part-1/</link>
		<comments>http://www.phpdone.com/blog/2009/11/common-errors-part-1/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:07:50 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=71</guid>
		<description><![CDATA[Common errors you may come across when programming, and the solutions.

]]></description>
			<content:encoded><![CDATA[<p>Common errors you may come across when programming, and the solutions.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/40mkmTKaFWo&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/40mkmTKaFWo&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/common-errors-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>POST Variable</title>
		<link>http://www.phpdone.com/blog/2009/11/post-variable/</link>
		<comments>http://www.phpdone.com/blog/2009/11/post-variable/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:02:45 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=69</guid>
		<description><![CDATA[Used for passing variables between pages on the submission of forms. The twist is, it&#8217;s hidden from the user in the URL (address) bar of a browser.

]]></description>
			<content:encoded><![CDATA[<p><span>Used for passing variables between pages on the submission of forms. The twist is, it&#8217;s hidden from the user in the URL (address) bar of a browser.</span></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/-CNLfCSnoGc&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/-CNLfCSnoGc&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/post-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GET Variable</title>
		<link>http://www.phpdone.com/blog/2009/11/get-variable/</link>
		<comments>http://www.phpdone.com/blog/2009/11/get-variable/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 12:58:42 +0000</pubDate>
		<dc:creator>Dr. Perl</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.phpdone.com/blog/?p=67</guid>
		<description><![CDATA[Used for passing variables between pages on the submission of forms or manual entry in the URL (address) bar of your browser.

]]></description>
			<content:encoded><![CDATA[<p><span>Used for passing variables between pages on the submission of forms or manual entry in the URL (address) bar of your browser.</span></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/d2BQnTFvevw&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/d2BQnTFvevw&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpdone.com/blog/2009/11/get-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
