<?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: 增加这三行php代码的安全，性能和兼容性</title>
	<atom:link href="http://www.surfchen.org/archives/260/feed" rel="self" type="application/rss+xml" />
	<link>http://www.surfchen.org/archives/260</link>
	<description>sc</description>
	<lastBuildDate>Thu, 19 Jan 2012 22:40:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: 卡飞菲</title>
		<link>http://www.surfchen.org/archives/260/comment-page-1#comment-10482</link>
		<dc:creator>卡飞菲</dc:creator>
		<pubDate>Sun, 27 May 2007 06:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.surfchen.org/?p=260#comment-10482</guid>
		<description>有个bug！这里没有考虑到打开 magic_quotes_gpc 时的情况，事实上默认都是打开的。那么用户输入的某些符号会被篡改。

而且，如果输入为空，那么将什么都得不到，貌似没什么问题，实际上单输出一个 &quot;Search results for query:&quot; 已经是公认的国际标准了！聊胜于无啊！

还有，isset($_GET[&#039;xxx&#039;]) 也貌似没有什么问题，但如果这段代码在命令行下执行，根本就不会有 $_GET 变量，记得在PHP早一点的版本，会有一个 Notice。

果然，又向dash靠近了一步，鉴定完毕！</description>
		<content:encoded><![CDATA[<p>有个bug！这里没有考虑到打开 magic_quotes_gpc 时的情况，事实上默认都是打开的。那么用户输入的某些符号会被篡改。</p>
<p>而且，如果输入为空，那么将什么都得不到，貌似没什么问题，实际上单输出一个 &#8220;Search results for query:&#8221; 已经是公认的国际标准了！聊胜于无啊！</p>
<p>还有，isset($_GET['xxx']) 也貌似没有什么问题，但如果这段代码在命令行下执行，根本就不会有 $_GET 变量，记得在PHP早一点的版本，会有一个 Notice。</p>
<p>果然，又向dash靠近了一步，鉴定完毕！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dash</title>
		<link>http://www.surfchen.org/archives/260/comment-page-1#comment-10481</link>
		<dc:creator>Dash</dc:creator>
		<pubDate>Sat, 26 May 2007 08:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.surfchen.org/?p=260#comment-10481</guid>
		<description>surf同志的技术水准已经向我又接近了一步，鉴定完毕:D</description>
		<content:encoded><![CDATA[<p>surf同志的技术水准已经向我又接近了一步，鉴定完毕:D</p>
]]></content:encoded>
	</item>
</channel>
</rss>

