<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.2" -->
<rss version="0.92">
<channel>
	<title>Talk In Code</title>
	<link>http://www.talkincode.com</link>
	<description>Code tips, snippets and resources.</description>
	<lastBuildDate>Fri, 10 Oct 2008 10:32:28 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Find The Number Of Days For A Given Month With PHP</title>
		<description>There are two ways to find out the number of days for a given month.  The first is to use the date() function in conjunction with the mktime() function to create a date and format this value as the number of days in a given month.

$monthDays = date(&#34;t&#34;,mktime(0,0,0,12,1,2008));

The second ...</description>
		<link>http://www.talkincode.com/find-the-number-of-days-for-a-given-month-with-php-557.html</link>
			</item>
	<item>
		<title>Find And Replace On All Files In And Below A Directory</title>
		<description>The following shell command uses the find function to find all files in or below the current directory that have the extension php.  It then passes each file found onto a sed command which then replaces all &#60;? with the longer &lt?php version.

find . -name &#39;*.php&#39; -exec sed -ie ...</description>
		<link>http://www.talkincode.com/find-and-replace-on-all-files-in-and-below-a-directory-554.html</link>
			</item>
	<item>
		<title>PHP Function To Work Out Factorial Numbers</title>
		<description>Factorial of a number is defined as the product of the number and all of the numbers small than it.  So if you take the number 4 the factorial of that number is 24 or 1 x 2 x 3 x 4.

Factorials are useful for a number of applications, ...</description>
		<link>http://www.talkincode.com/php-function-to-work-out-factorial-numbers-551.html</link>
			</item>
	<item>
		<title>Get Fibonacci Numbers Using PHP</title>
		<description>Fibonacci numbers not only have a few uses, but are also quite a nice little number sequence in themselves.

The sequence starts at 0, the next number is 1, and every number after that is the sum of the last two numbers.  So the third number is 1, and the ...</description>
		<link>http://www.talkincode.com/get-fibonacci-numbers-using-php-547.html</link>
			</item>
	<item>
		<title>PHP Script To Turn Image Into ASCII Text</title>
		<description>Use the following snippet to convert any jpeg image into the equivalent image in ASCII format.  It works by loading an image using the PHP GD2 library function ImageCreateFromJpeg() and then figures out the height and width of it.  It then uses these values to loop through every ...</description>
		<link>http://www.talkincode.com/php-script-to-turn-image-into-ascii-text-539.html</link>
			</item>
	<item>
		<title>Planet PHP</title>
		<description>Planet PHP is a feed aggregator blog specifically for PHP related blogs.  There are a good number of blogs that the site uses to update with so there is always plenty of stuff going up on the site.  The site is not run by PHP, and is an ...</description>
		<link>http://www.talkincode.com/planet-php-537.html</link>
			</item>
	<item>
		<title>Writing Function Code To Be More Readable</title>
		<description>Last month I started writing functions in a particular way, which has made my life as a programmer much easier on more than one occasion.  No matter how many comments or verbose parameter names you put in you can end up writing code that you will get lost in. ...</description>
		<link>http://www.talkincode.com/writing-function-code-to-be-more-readable-523.html</link>
			</item>
	<item>
		<title>Simple Swear Filter In PHP</title>
		<description>Use the following function to filter out words from user input.  It works by having a pre-set array of words that are to be excluded, this array is then looped through and each item is used to replace any instances of that word within the text.  The regular ...</description>
		<link>http://www.talkincode.com/simple-swear-filter-in-php-521.html</link>
			</item>
	<item>
		<title>Search Engine Spider Detection With PHP</title>
		<description>Part of any search engine optimisation strategy should always be that the user and the search engine see the same thing.  If you start delivering different content you will either end up not performing or just getting outright banned.  However, there are certain circumstances where you will want ...</description>
		<link>http://www.talkincode.com/search-engine-spider-detection-with-php-510.html</link>
			</item>
	<item>
		<title>Directory Iteration With DirectoryIterator() In PHP 5</title>
		<description>The normal way of looping through a directory is to get a handle on the directory, then go through each item, making sure that the file is readable and is not &#34;.&#34; or &#34;..&#34; before doing something with the file.  Because this is done a lot the DirectoryIterator() object ...</description>
		<link>http://www.talkincode.com/directory-iteration-with-directoryiterator-in-php-5-518.html</link>
			</item>
</channel>
</rss>
