<?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: $_SERVER[&#039;PHP_SELF&#039;] can not be trusted, but there are safe&#160;alternatives</title>
	<atom:link href="http://www.mc2design.com/blog/php_self-safe-alternatives/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mc2design.com/blog/php_self-safe-alternatives</link>
	<description>Web development and marketing from the squares at MC² Design Group</description>
	<lastBuildDate>Mon, 28 Sep 2009 19:44:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: halı yıkama</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-69081</link>
		<dc:creator>halı yıkama</dc:creator>
		<pubDate>Wed, 29 Jul 2009 12:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-69081</guid>
		<description>$_SERVER[&#039;PHP_SELF&#039;] can not be trusted, but there are safe alternatives - The Q great article thank you.</description>
		<content:encoded><![CDATA[<p>$_SERVER['PHP_SELF'] can not be trusted, but there are safe alternatives &#8211; The Q great article thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jarrett M. Barnett</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-68596</link>
		<dc:creator>Jarrett M. Barnett</dc:creator>
		<pubDate>Tue, 07 Jul 2009 19:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-68596</guid>
		<description>This post is actually fairly old. From my understanding leaving the action blank (action=&quot;&quot;) is both not proper and still open to XSS attacks.

If your using PHP5 (and maybe later versions of PHP4), you should look into htmlspecialchars() - &lt;a href=&quot;http://us2.php.net/manual/en/function.htmlspecialchars.php&quot; rel=&quot;nofollow&quot;&gt;http://us2.php.net/manual/en/function.htmlspecialchars.php&lt;/a&gt;

I personally purify everything.</description>
		<content:encoded><![CDATA[<p>This post is actually fairly old. From my understanding leaving the action blank (action=&#8221;") is both not proper and still open to XSS attacks.</p>
<p>If your using PHP5 (and maybe later versions of PHP4), you should look into htmlspecialchars() &#8211; <a href="http://us2.php.net/manual/en/function.htmlspecialchars.php" rel="nofollow">http://us2.php.net/manual/en/function.htmlspecialchars.php</a></p>
<p>I personally purify everything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kapil</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-67809</link>
		<dc:creator>kapil</dc:creator>
		<pubDate>Tue, 16 Jun 2009 10:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-67809</guid>
		<description>I used action=&quot;&quot; and it solved what I needed. Is this ok to do or does this also has any security issue?</description>
		<content:encoded><![CDATA[<p>I used action=&quot;&quot; and it solved what I needed. Is this ok to do or does this also has any security issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-67167</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 29 May 2009 22:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-67167</guid>
		<description>Stumbled onto this from reddit, thanks that is an awesome heads up on a fairly common practice!</description>
		<content:encoded><![CDATA[<p>Stumbled onto this from reddit, thanks that is an awesome heads up on a fairly common practice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Hahler</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-67152</link>
		<dc:creator>Daniel Hahler</dc:creator>
		<pubDate>Fri, 29 May 2009 15:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-67152</guid>
		<description>Good post. You can just use &quot;&quot; (empty string) for the form action though (instead of &quot;#&quot;).
Or just use htmlspecialchars() to output PHP_SELF (but leaving it away makes more sense anyway).</description>
		<content:encoded><![CDATA[<p>Good post. You can just use &quot;&quot; (empty string) for the form action though (instead of &quot;#&quot;).<br />
Or just use htmlspecialchars() to output PHP_SELF (but leaving it away makes more sense anyway).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radman</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-62481</link>
		<dc:creator>Radman</dc:creator>
		<pubDate>Sun, 01 Mar 2009 22:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-62481</guid>
		<description>Every time i come here I am not dissapointed, nice post</description>
		<content:encoded><![CDATA[<p>Every time i come here I am not dissapointed, nice post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristof</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-62311</link>
		<dc:creator>Kristof</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-62311</guid>
		<description>Turn MultiViews off and your problem is solved.</description>
		<content:encoded><![CDATA[<p>Turn MultiViews off and your problem is solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Byrne: the blog &#187; Form breaks Wordpress</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-59282</link>
		<dc:creator>Matthew Byrne: the blog &#187; Form breaks Wordpress</dc:creator>
		<pubDate>Mon, 26 Jan 2009 19:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-59282</guid>
		<description>[...] scrabbling around looking for answers I did come across a good article about security vulnerability when using the PHP_Self command, it’s well worth a read.      Tags: form, php, security, Wordpress [...]</description>
		<content:encoded><![CDATA[<p>[...] scrabbling around looking for answers I did come across a good article about security vulnerability when using the PHP_Self command, it’s well worth a read.      Tags: form, php, security, Wordpress [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tormn</title>
		<link>http://www.mc2design.com/blog/php_self-safe-alternatives/comment-page-1#comment-37897</link>
		<dc:creator>Tormn</dc:creator>
		<pubDate>Tue, 22 Jul 2008 12:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mc2design.com/blog/php_self-you-little-rascal#comment-37897</guid>
		<description>As a hacker, I also would like to tell you how important XSS attacks are. If XSS is available on a website, you will most likely get access to other peoples accounts. There are ways you can stop this from happening, but most people do not stop XSS.</description>
		<content:encoded><![CDATA[<p>As a hacker, I also would like to tell you how important XSS attacks are. If XSS is available on a website, you will most likely get access to other peoples accounts. There are ways you can stop this from happening, but most people do not stop XSS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
