<?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>
	「对$_SERVER[&#039;HTTP_REFERER&#039;]验证表单来源的一点看法」的评论	</title>
	<atom:link href="https://www.mrven.com/node/145/feed" rel="self" type="application/rss+xml" />
	<link>https://www.mrven.com/node/145</link>
	<description>A MRVEN SITE</description>
	<lastBuildDate>Tue, 23 Mar 2010 12:23:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>
	<item>
		<title>
		评论者：wanglei		</title>
		<link>https://www.mrven.com/node/145/comment-page-1#comment-462</link>

		<dc:creator><![CDATA[wanglei]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 12:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.naks.cn/blueven/?p=145#comment-462</guid>

					<description><![CDATA[我看到可能 wordpress 也利用这个来进行数据验证，我在 wordpress 里面看到了这个函数，

function wp_get_referer() {
	$ref = &#039;&#039;;
	if ( ! empty( $_REQUEST[&#039;_wp_http_referer&#039;] ) )
		$ref = $_REQUEST[&#039;_wp_http_referer&#039;];
	else if ( ! empty( $_SERVER[&#039;HTTP_REFERER&#039;] ) )
		$ref = $_SERVER[&#039;HTTP_REFERER&#039;];

	if ( $ref !== $_SERVER[&#039;REQUEST_URI&#039;] )
		return $ref;
	return false;
}

应该和这个有关。]]></description>
			<content:encoded><![CDATA[<p>我看到可能 wordpress 也利用这个来进行数据验证，我在 wordpress 里面看到了这个函数，</p>
<p>function wp_get_referer() {<br />
	$ref = &#8221;;<br />
	if ( ! empty( $_REQUEST[&#8216;_wp_http_referer&#8217;] ) )<br />
		$ref = $_REQUEST[&#8216;_wp_http_referer&#8217;];<br />
	else if ( ! empty( $_SERVER[&#8216;HTTP_REFERER&#8217;] ) )<br />
		$ref = $_SERVER[&#8216;HTTP_REFERER&#8217;];</p>
<p>	if ( $ref !== $_SERVER[&#8216;REQUEST_URI&#8217;] )<br />
		return $ref;<br />
	return false;<br />
}</p>
<p>应该和这个有关。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：布鲁文		</title>
		<link>https://www.mrven.com/node/145/comment-page-1#comment-120</link>

		<dc:creator><![CDATA[布鲁文]]></dc:creator>
		<pubDate>Fri, 29 Feb 2008 09:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.naks.cn/blueven/?p=145#comment-120</guid>

					<description><![CDATA[不如直接从数据验证那关给堵住，一下来得痛快！]]></description>
			<content:encoded><![CDATA[<p>不如直接从数据验证那关给堵住，一下来得痛快！</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		评论者：phzzy		</title>
		<link>https://www.mrven.com/node/145/comment-page-1#comment-121</link>

		<dc:creator><![CDATA[phzzy]]></dc:creator>
		<pubDate>Fri, 29 Feb 2008 07:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.naks.cn/blueven/?p=145#comment-121</guid>

					<description><![CDATA[能检查一个细节算一个细节
一些小的细节往往能阻挡很多恶意用户的~
:)]]></description>
			<content:encoded><![CDATA[<p>能检查一个细节算一个细节<br />
一些小的细节往往能阻挡很多恶意用户的~<br />
🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
