<?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>Need code for ...</title>
	<atom:link href="http://www.needcodefor.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.needcodefor.com</link>
	<description>Code for developers in need</description>
	<lastBuildDate>Mon, 16 May 2011 12:34:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Swapping two variables in PHP</title>
		<link>http://www.needcodefor.com/php/swapping-two-variables-in-php/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=swapping-two-variables-in-php</link>
		<comments>http://www.needcodefor.com/php/swapping-two-variables-in-php/#comments</comments>
		<pubDate>Mon, 16 May 2011 12:34:50 +0000</pubDate>
		<dc:creator>Mihaela</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[interchange]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=406</guid>
		<description><![CDATA[<p>In my last post at some point in the code I had to do a variable swap (to assign the value of the second variable to the first and vice-versa). To do this I used a third temporary variable to hold the content of the first variable so it&#8217;s value won&#8217;t be lost.</p> $temp <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/swapping-two-variables-in-php/">Swapping two variables in PHP</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/swapping-two-variables-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP function to generate all permutations</title>
		<link>http://www.needcodefor.com/php/php-function-to-generate-all-permutations/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=php-function-to-generate-all-permutations</link>
		<comments>http://www.needcodefor.com/php/php-function-to-generate-all-permutations/#comments</comments>
		<pubDate>Tue, 10 May 2011 12:09:15 +0000</pubDate>
		<dc:creator>Mihaela</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[generate]]></category>
		<category><![CDATA[iterative]]></category>
		<category><![CDATA[permutations]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=397</guid>
		<description><![CDATA[<p>To generate all permutations of a given set means to find all possible ways the elements of the set can be arranged. For example, if the given set is {1, 2, 3} the permutations are:</p> 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 <p>The <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/php-function-to-generate-all-permutations/">PHP function to generate all permutations</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/php-function-to-generate-all-permutations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Removing accents from strings in PHP</title>
		<link>http://www.needcodefor.com/php/removing-accents-from-strings-in-php/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=removing-accents-from-strings-in-php</link>
		<comments>http://www.needcodefor.com/php/removing-accents-from-strings-in-php/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 09:26:45 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[strings]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=388</guid>
		<description><![CDATA[<p>A simple method for removing accents from strings in PHP:</p> 1 2 $x = strtr&#40;$x, &#34;ŠŒŽšœžŸ¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ&#34;, &#34;SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy&#34;&#41;; ]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/removing-accents-from-strings-in-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>And so you code&#8230;</title>
		<link>http://www.needcodefor.com/generic/and-so-you-code/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=and-so-you-code</link>
		<comments>http://www.needcodefor.com/generic/and-so-you-code/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 11:45:30 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[Generic]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=385</guid>
		<description><![CDATA[<p></p> ]]></description>
		<wfw:commentRss>http://www.needcodefor.com/generic/and-so-you-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Polybius cipher</title>
		<link>http://www.needcodefor.com/php/polybius-cipher/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=polybius-cipher</link>
		<comments>http://www.needcodefor.com/php/polybius-cipher/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 10:01:53 +0000</pubDate>
		<dc:creator>Mihaela</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cipher]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=350</guid>
		<description><![CDATA[<p>Polybius cipher is a basic form of encryption invented by the Ancient Greek Historian whose name it bears. It is based on fractionating plaintext characters so they can be represented by a smaller set of symbols. In plain English: all the letters of the alphabet are written in a 5&#215;5 square like the one <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/polybius-cipher/">Polybius cipher</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/polybius-cipher/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accessing POST data</title>
		<link>http://www.needcodefor.com/php/accessing-post-data/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=accessing-post-data</link>
		<comments>http://www.needcodefor.com/php/accessing-post-data/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 06:10:35 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[parsing]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=355</guid>
		<description><![CDATA[<p>Handling XML requests from PHP involves accessing the raw POST data. This can be done by accessing the $HTTP_RAW_POST_DATA variable, but this depends on having the always_populate_raw_post_data directive enabled in your php.ini. A less memory intensive alternative is php://input, which doesn&#8217;t need any special php.ini setting, but it&#8217;s not available for multipart/form-data requests.</p> <p>Reading <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/accessing-post-data/">Accessing POST data</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/accessing-post-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4.0 beta 1</title>
		<link>http://www.needcodefor.com/html/firefox-4-0-beta-1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=firefox-4-0-beta-1</link>
		<comments>http://www.needcodefor.com/html/firefox-4-0-beta-1/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 12:23:16 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[browsers]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=344</guid>
		<description><![CDATA[<p>Yesterday Mozilla released the first beta of Firefox 4. It includes a redesigned interface, more HTML 5 support and other features. It also brings a good laugh: </p> <p>Download it HERE.</p> ]]></description>
		<wfw:commentRss>http://www.needcodefor.com/html/firefox-4-0-beta-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vigenere cipher</title>
		<link>http://www.needcodefor.com/php/vigenere-cipher/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vigenere-cipher</link>
		<comments>http://www.needcodefor.com/php/vigenere-cipher/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 11:58:47 +0000</pubDate>
		<dc:creator>Mihaela</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cipher]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=301</guid>
		<description><![CDATA[<p>Vigenere cipher is an encryption technique consisting of a sequence of Caesar cipher each based on the letters of a secret text called a keyword. This mechanism is classified as polyalphabetic substitution.</p> <p>In Caesar substitution each letter was shifted a number of positions down the alphabet. For example choosing the secret key to be <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/vigenere-cipher/">Vigenere cipher</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/vigenere-cipher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 &#8211; features and support</title>
		<link>http://www.needcodefor.com/javascript/html-5-features-and-support/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=html-5-features-and-support</link>
		<comments>http://www.needcodefor.com/javascript/html-5-features-and-support/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 15:41:15 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=261</guid>
		<description><![CDATA[<p>HTML 5 is the next major revision of the HyperText Markup Language. It&#8217;s currently being developed as the next standard to present content on the World Wide Web. HTML 5 includes new features that were previously handled by various plugins. These new features include video and sound support, drag and drop, client side database <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/javascript/html-5-features-and-support/">HTML 5 &#8211; features and support</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/javascript/html-5-features-and-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Caesar cipher</title>
		<link>http://www.needcodefor.com/php/caesar-cipher/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=caesar-cipher</link>
		<comments>http://www.needcodefor.com/php/caesar-cipher/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 18:34:55 +0000</pubDate>
		<dc:creator>Mihaela</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cipher]]></category>

		<guid isPermaLink="false">http://www.needcodefor.com/?p=268</guid>
		<description><![CDATA[<p>If you are the geeky type, like a lot of people I happen to know (&#8230;OK fine, yours truly also) sometime in your childhood you discovered some simple forms of encryption and became fascinated by them to the point where you started creating your own alphabets and childish methods of obscuring texts. And it&#8217;s <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.needcodefor.com/php/caesar-cipher/">Caesar cipher</a></span>]]></description>
		<wfw:commentRss>http://www.needcodefor.com/php/caesar-cipher/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

