<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Common PHP Programming Mistakes</title>
	<atom:link href="http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/</link>
	<description>for Those Who Develop Something on the Web</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:56:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-195</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 03 Jan 2010 20:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-195</guid>
		<description>Thanks, it&#039;s fixed now :)</description>
		<content:encoded><![CDATA[<p>Thanks, it&#8217;s fixed now :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shyzwbtk</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-189</link>
		<dc:creator>shyzwbtk</dc:creator>
		<pubDate>Tue, 27 Oct 2009 05:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-189</guid>
		<description>&lt;strong&gt;shyzwbtk...&lt;/strong&gt;

shyzwbtk...</description>
		<content:encoded><![CDATA[<p><strong>shyzwbtk&#8230;</strong></p>
<p>shyzwbtk&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-161</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 07 Oct 2009 11:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-161</guid>
		<description>[...] Common PHP Programming Mistakes [...]</description>
		<content:encoded><![CDATA[<p>[...] Common PHP Programming Mistakes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julius Beckmann</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-148</link>
		<dc:creator>Julius Beckmann</dc:creator>
		<pubDate>Sat, 03 Oct 2009 17:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-148</guid>
		<description>1. Performance is not relevant here. Sometimes its just stupid to use &quot; instead of &#039; and the other way round.
BTW: Wordpress fucked up your quotes :D

2. That is a real pitfall, only using (int) casting or using intval() saves the day!

3. Good to know, thanks.

4. In first place, if foreach gets at least 1 iteration, everything will be ok. Otherwise the array will be NULL which can lead to serious problems.

5. $_GET, $_POST and $_REQUEST are dangerous. Everybody should be trained to use them correctly!

6. mysql_real_escape_string is only necesary if you have strings, numbers and floats can be &quot;validated&quot; by simply casting them (int)$number;

7. A pitfall for beginners. Every devolper should use error_reporting(E_ALL); while developing.

8. strpos is the functions beginners need to learn that == is not ===. 

Thanks for this list, hope much people will read and use it!</description>
		<content:encoded><![CDATA[<p>1. Performance is not relevant here. Sometimes its just stupid to use &#8221; instead of &#8216; and the other way round.<br />
BTW: WordPress fucked up your quotes :D</p>
<p>2. That is a real pitfall, only using (int) casting or using intval() saves the day!</p>
<p>3. Good to know, thanks.</p>
<p>4. In first place, if foreach gets at least 1 iteration, everything will be ok. Otherwise the array will be NULL which can lead to serious problems.</p>
<p>5. $_GET, $_POST and $_REQUEST are dangerous. Everybody should be trained to use them correctly!</p>
<p>6. mysql_real_escape_string is only necesary if you have strings, numbers and floats can be &#8220;validated&#8221; by simply casting them (int)$number;</p>
<p>7. A pitfall for beginners. Every devolper should use error_reporting(E_ALL); while developing.</p>
<p>8. strpos is the functions beginners need to learn that == is not ===. </p>
<p>Thanks for this list, hope much people will read and use it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Common PHP Programming Mistakes &#124; My Web Development Bookmarks</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-140</link>
		<dc:creator>Common PHP Programming Mistakes &#124; My Web Development Bookmarks</dc:creator>
		<pubDate>Sat, 03 Oct 2009 08:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-140</guid>
		<description>[...] See the article here: Common PHP Programming Mistakes [...]</description>
		<content:encoded><![CDATA[<p>[...] See the article here: Common PHP Programming Mistakes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Common PHP Programming Mistakes :Dev-The-Web's Blog -- Topsy.com</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-139</link>
		<dc:creator>Tweets that mention Common PHP Programming Mistakes :Dev-The-Web's Blog -- Topsy.com</dc:creator>
		<pubDate>Sat, 03 Oct 2009 07:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-139</guid>
		<description>[...] This post was mentioned on Twitter by Rich and Abdelrahman Omran. Abdelrahman Omran said: Common PHP Programming Mistakes http://bit.ly/3XIBjw [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Rich and Abdelrahman Omran. Abdelrahman Omran said: Common PHP Programming Mistakes <a href="http://bit.ly/3XIBjw" rel="nofollow">http://bit.ly/3XIBjw</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Posts about Programming from google blogs as of October 1, 2009 &#171; tryfly.com</title>
		<link>http://www.devtheweb.net/blog/2009/09/30/common-php-programming-mistakes/comment-page-1/#comment-134</link>
		<dc:creator>Posts about Programming from google blogs as of October 1, 2009 &#171; tryfly.com</dc:creator>
		<pubDate>Fri, 02 Oct 2009 00:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://dev-the-web.com/blog/?p=199#comment-134</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
