<?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>Matthew Byrne: the blog &#187; form</title>
	<atom:link href="http://www.matthewbyrne.co.uk/tag/form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matthewbyrne.co.uk</link>
	<description>copywriter / producer / blogger</description>
	<lastBuildDate>Sun, 03 May 2009 20:06:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Form breaks WordPress</title>
		<link>http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/</link>
		<comments>http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 19:26:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.matthewbyrne.co.uk/?p=166</guid>
		<description><![CDATA[Just spent the last hour trying to figure out why a simple php form was breaking WordPress. The answer was a variable name clash. I used a variable called &#8216;name&#8217; in my form which seems to be linked the WP tag tags (!). To get things working I renamed &#8216;name&#8217; to &#8216;signUpName&#8217;. Whilst scrabbling around [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-165" title="name" src="http://www.matthewbyrne.co.uk/wp-content/uploads/2009/01/name.png" alt="WordPress Variable Clash" width="500" height="193" /></p>
<p>Just spent the last hour trying to figure out why a simple php form was breaking WordPress. The answer was a variable name clash. I used a variable called &#8216;name&#8217; in my form which seems to be linked the WP tag tags (!).</p>
<p>To get things working I renamed &#8216;name&#8217; to &#8216;signUpName&#8217;.</p>
<p>Whilst scrabbling around for answers I did come across a good article about a <a href="http://www.mc2design.com/blog/php_self-safe-alternatives">security vulnerability when using the PHP_Self command</a>, it&#8217;s well worth a read before you build your next form.</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em> </em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;title=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to Del.icio.us"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Form breaks WordPress' to Del.icio.us" alt="Add 'Form breaks WordPress' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;title=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to digg"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Form breaks WordPress' to digg" alt="Add 'Form breaks WordPress' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Form+breaks+WordPress&amp;u=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/" title="Add 'Form breaks WordPress' to FURL"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/furl.png" title="Add 'Form breaks WordPress' to FURL" alt="Add 'Form breaks WordPress' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;title=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to reddit"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Form breaks WordPress' to reddit" alt="Add 'Form breaks WordPress' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/" title="Add 'Form breaks WordPress' to Technorati"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Form breaks WordPress' to Technorati" alt="Add 'Form breaks WordPress' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;h=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to Newsvine"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'Form breaks WordPress' to Newsvine" alt="Add 'Form breaks WordPress' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;title=Form+breaks+WordPress&amp;description=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to Ma.gnolia"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'Form breaks WordPress' to Ma.gnolia" alt="Add 'Form breaks WordPress' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;title=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to Stumble Upon"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Form breaks WordPress' to Stumble Upon" alt="Add 'Form breaks WordPress' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/&amp;t=Form+breaks+WordPress" title="Add 'Form breaks WordPress' to FaceBook"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Form breaks WordPress' to FaceBook" alt="Add 'Form breaks WordPress' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/" title="Add 'Form breaks WordPress' to Twitter"><img src="http://www.matthewbyrne.co.uk/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Form breaks WordPress' to Twitter" alt="Add 'Form breaks WordPress' to Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://www.matthewbyrne.co.uk/projects/form-breaks-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
