<?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>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>Tue, 15 May 2012 02:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How Not To Write Code</title>
		<link>http://codingrecipes.com/how-not-to-write-code</link>
		<comments>http://codingrecipes.com/how-not-to-write-code#comments</comments>
		<pubDate>Mon, 07 Mar 2011 22:39:42 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1101</guid>
		<description><![CDATA[I&#8217;m working on a website and it&#8217;s absolutely awful, almost all the design choices are bad so I will compile a list here as I encounter them: 1 &#8211; Don&#8217;t have fields in your database like &#8220;extra1&#8243;, &#8220;extra2&#8243; or &#8220;extra3&#8243; you probably need to refactor and rethink your design&#8230; 2 &#8211; Don&#8217;t have a global [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-not-to-write-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing GeoWorldMap Database Into MySQL Using PHP</title>
		<link>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php</link>
		<comments>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php#comments</comments>
		<pubDate>Mon, 27 Dec 2010 23:24:48 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1058</guid>
		<description><![CDATA[First download the database from: http://www.geobytes.com/freeservices.htm Then, create a folder in your server where you can access it via a browser and upload the files in there, then save this script as import.php and upload it into the same folder and then point your browser to this PHP script you just uploaded. Note that you [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP: Problem With Displaying French Accented Characters; black diamond&#8230;</title>
		<link>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond</link>
		<comments>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond#comments</comments>
		<pubDate>Wed, 18 Aug 2010 05:54:31 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<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=1023</guid>
		<description><![CDATA[If you have this problem and your accented characters are being replaced by black diamonds with question marks in them and you tried EVERYTHING you could find and nothing worked and no one seems to know what&#8217;s going on and you think it&#8217;s PHP or Apache that is causing this issue and you tried changing [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>Hamid</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 [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player/feed</wfw:commentRss>
		<slash:comments>10</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>Hamid</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; &#60;input name=&#34;My_Simple_Widget_title&#34; type=&#34;text&#34; value=&#34;&#60;?php echo $data&#91;'title'&#93;; ?&#62;&#34; /&#62;&#60;/p&#62; You can have whatever you want here, even a [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-to-create-wordpress-widgets/feed</wfw:commentRss>
		<slash:comments>1</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>Hamid</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 [...]]]></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>Hamid</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 [...]]]></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>Hamid</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[SEO]]></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 [...]]]></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>Hamid</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 [...]]]></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>13</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>Hamid</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 is one… 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>14</slash:comments>
		</item>
	</channel>
</rss>

