<?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>Web Development - Programming - Coding Recipes &#187; PHP</title>
	<atom:link href="http://codingrecipes.com/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://codingrecipes.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 19:58:56 +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>PHP: Converting YouTube and Vimeo Links To YouTube Player and Vimeo Player</title>
		<link>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player</link>
		<comments>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player#comments</comments>
		<pubDate>Sat, 05 Jun 2010 19:27:50 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=980</guid>
		<description><![CDATA[Here is a simple function that will do this for you:

function convert_videos&#40;$string&#41; &#123;
	$rules = array&#40;
		'#http://(www\.)?youtube\.com/watch\?v=([^ &#38;\n]+)(&#38;.*?(\n&#124;\s))?#i' =&#62; '&#60;object width=&#34;425&#34; height=&#34;350&#34;&#62;&#60;param name=&#34;movie&#34; value=&#34;http://www.youtube.com/v/$2&#34;&#62;&#60;/param&#62;&#60;embed src=&#34;http://www.youtube.com/v/$2&#34; type=&#34;application/x-shockwave-flash&#34; width=&#34;425&#34; height=&#34;350&#34;&#62;&#60;/embed&#62;&#60;/object&#62;',
&#160;
		'#http://(www\.)?vimeo\.com/([^ ?\n/]+)((\?&#124;/).*?(\n&#124;\s))?#i' =&#62; '&#60;object width=&#34;400&#34; height=&#34;300&#34;&#62;&#60;param name=&#34;allowfullscreen&#34; value=&#34;true&#34; /&#62;&#60;param name=&#34;allowscriptaccess&#34; value=&#34;always&#34; /&#62;&#60;param name=&#34;movie&#34; value=&#34;http://vimeo.com/moogaloop.swf?clip_id=$2&#38;amp;server=vimeo.com&#38;amp;show_title=1&#38;amp;show_byline=1&#38;amp;show_portrait=0&#38;amp;color=&#38;amp;fullscreen=1&#34; /&#62;&#60;embed src=&#34;http://vimeo.com/moogaloop.swf?clip_id=$2&#38;amp;server=vimeo.com&#38;amp;show_title=1&#38;amp;show_byline=1&#38;amp;show_portrait=0&#38;amp;color=&#38;amp;fullscreen=1&#34; type=&#34;application/x-shockwave-flash&#34; allowfullscreen=&#34;true&#34; allowscriptaccess=&#34;always&#34; width=&#34;400&#34; height=&#34;300&#34;&#62;&#60;/embed&#62;&#60;/object&#62;'
	&#41;;
&#160;
	foreach &#40;$rules as $link =&#62; $player&#41;
		$string = preg_replace&#40;$link, $player, $string&#41;;
&#160;
	return [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To Create WordPress Widgets</title>
		<link>http://codingrecipes.com/how-to-create-wordpress-widgets</link>
		<comments>http://codingrecipes.com/how-to-create-wordpress-widgets#comments</comments>
		<pubDate>Fri, 14 May 2010 23:43:58 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=926</guid>
		<description><![CDATA[No need for a huge fancy post, here is a very simple Wordpress widget:
You must paste this code into your theme&#8217;s functions.php file located at: /wp-content/themes/YOUR_THEME

class My_Simple_Widget {
&#160;
   function control(){
      $data = get_option('My_Simple_Widget_data');
      ?&#62;
         &#60;p&#62;&#60;label&#62;Title:&#60;/label&#62; [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-to-create-wordpress-widgets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Overall Code Editor Ever: Komodo Edit</title>
		<link>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit</link>
		<comments>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit#comments</comments>
		<pubDate>Tue, 04 May 2010 22:00:03 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML/XHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Komodo Edit]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=915</guid>
		<description><![CDATA[A while back I wrote a post about what I think is the best Python code editor but I decided to write an update and write a little more about Komodo Edit&#8230;
I use Dreamweaver to write HTML/CSS/JavaScript/PHP code and a few days ago I decided to open Komodo Edit and see how it does with [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Best Python Code Editor: Komodo Edit</title>
		<link>http://codingrecipes.com/the-best-python-code-editor-komodo-edit</link>
		<comments>http://codingrecipes.com/the-best-python-code-editor-komodo-edit#comments</comments>
		<pubDate>Tue, 20 Apr 2010 02:46:59 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Annoying Stuff]]></category>
		<category><![CDATA[IDEs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=894</guid>
		<description><![CDATA[I looked for a Python editor a lot, I found Pydev which is a plugin for Eclipse and since Eclipse sucks, it&#8217;s ugly and the code looks ugly too, it just kills my creativity, it&#8217;s also slow on top of that.
Then I found IronPython plugin for Microsoft Visual Studio, this one requires Visual Studio which [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/the-best-python-code-editor-komodo-edit/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Site Speed Is A New Ranking Factor; 8 tips on how to optimize your site</title>
		<link>http://codingrecipes.com/site-speed-is-a-new-ranking-factor-8-tips-on-how-to-optimize-your-site</link>
		<comments>http://codingrecipes.com/site-speed-is-a-new-ranking-factor-8-tips-on-how-to-optimize-your-site#comments</comments>
		<pubDate>Fri, 09 Apr 2010 20:49:12 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=871</guid>
		<description><![CDATA[1 &#8211; Reduce the size of your pages.
2 &#8211; Switch to CSS and use proper-modern HTML, modern web pages that use CSS for layout properly, are usually smaller in size and faster to load.
3 &#8211; If you have a blog, don&#8217;t show 50 posts on your front page, show 10, more posts means slower load [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/site-speed-is-a-new-ranking-factor-8-tips-on-how-to-optimize-your-site/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script For Counting Number Of Lines Of Code In Your Website; Composite Design Pattern</title>
		<link>http://codingrecipes.com/script-for-counting-number-of-lines-of-code-in-your-website-composite-design-pattern</link>
		<comments>http://codingrecipes.com/script-for-counting-number-of-lines-of-code-in-your-website-composite-design-pattern#comments</comments>
		<pubDate>Mon, 08 Feb 2010 19:27:06 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Design Patterns]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=798</guid>
		<description><![CDATA[This is another thread from our forums which we are closing down soon.
This script will count the number of lines in all of your source files recursively. Just place it in any folder and point your browser to it and it will count all the lines including sub directories.
It might run out of memory if [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/script-for-counting-number-of-lines-of-code-in-your-website-composite-design-pattern/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP MySQL Web Development Security Tips &#8211; 14 tips you should know when developing with PHP and MySQL</title>
		<link>http://codingrecipes.com/php-mysql-web-development-security-tips-14-tips-you-should-know-when-developing-with-php-and-mysql</link>
		<comments>http://codingrecipes.com/php-mysql-web-development-security-tips-14-tips-you-should-know-when-developing-with-php-and-mysql#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:12:06 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=787</guid>
		<description><![CDATA[We are closing down our forums, it’s time to move on, but we are keeping some important threads, here are the AJAX tutorials…
PHP MySQL Web Development Security Tips &#8211; 14 tips you should know when developing with PHP and MySQL
I read about many of these points in books and tutorials but I was rather lazy [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-mysql-web-development-security-tips-14-tips-you-should-know-when-developing-with-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Learning PHP &#8211; best PHP books</title>
		<link>http://codingrecipes.com/learning-php-best-php-books</link>
		<comments>http://codingrecipes.com/learning-php-best-php-books#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:08:15 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=785</guid>
		<description><![CDATA[We are closing down our forums, it’s time to move on, but we are keeping some important threads, here are the AJAX tutorials…
Learning PHP &#8211; best PHP books
PHP and MySQL Web Development (4th Edition) (Developer&#8217;s Library) (Hardcover)
by, Luke Welling and Laura Thomson
This book is one of the best books on PHP and MySQL. It starts [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/learning-php-best-php-books/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Date/Time Handling Made Easy; a beginner&#8217;s guide to PHP time and date handling</title>
		<link>http://codingrecipes.com/php-date-time-handling-made-easy-a-beginners-guide-to-php-time-and-date-handling</link>
		<comments>http://codingrecipes.com/php-date-time-handling-made-easy-a-beginners-guide-to-php-time-and-date-handling#comments</comments>
		<pubDate>Sun, 24 Jan 2010 23:04:20 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Performance]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=768</guid>
		<description><![CDATA[When I started with PHP, I was a bit confused about this subject so this will hopefully help a beginner a lot.
UNIX Timestamp
UNIX Timestamp (or Unix time or POSIX time) is the number of seconds since the midnight of January 1, 1970 UTC.
You can get the current timestamp with PHP&#8217;s time() function:

&#60;?php
	echo time&#40;&#41;;
?&#62;

This will show [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-date-time-handling-made-easy-a-beginners-guide-to-php-time-and-date-handling/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX &#8211; Beginner AJAX Tutorial &#8211; Creating a simple AJAX website with example</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example</link>
		<comments>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example#comments</comments>
		<pubDate>Thu, 21 Jan 2010 21:12:57 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=762</guid>
		<description><![CDATA[We are closing down our forums, it’s time to move on, but we are keeping some important threads, here are the AJAX tutorials…
Beginner AJAX Tutorial &#8211; Creating a simple AJAX website with example
What you need to know before you read this tutorial:
You need to read the previous two tutorials, they are located at here:
Beginner Ajax [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
