<?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"
	>
<channel>
	<title>Comments on: A Better Email Form with PHP</title>
	<atom:link href="http://www.screenflicker.com/blog/coding/a-better-email-form-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.screenflicker.com/blog/coding/a-better-email-form-with-php/</link>
	<description>Web design and development in Calgary</description>
	<pubDate>Sat, 11 Feb 2012 17:14:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Mike</title>
		<link>http://www.screenflicker.com/blog/coding/a-better-email-form-with-php/#comment-51</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 24 Oct 2005 18:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenflicker.com/blog/?p=28#comment-51</guid>
		<description>To be honest I didn't know I could check if the form was submitted that way. I will definitely be checking that out.

Storing the field values into an array was just a preference at the time I wrote this. This is still a work in progress and I'm looking for ways to improve and expand it.

Putting the required fields in the form field was a preference as well. I wanted to make it easier to change for people with less exprience (or access) to edit. This way they only have to edit the form field. You're right though, it would be just as easy to change a variable in PHP.

I would love to hear any other suggestions you may have. Send me an email if you're interested Jonathan.</description>
		<content:encoded><![CDATA[<p>To be honest I didn&#8217;t know I could check if the form was submitted that way. I will definitely be checking that out.</p>
<p>Storing the field values into an array was just a preference at the time I wrote this. This is still a work in progress and I&#8217;m looking for ways to improve and expand it.</p>
<p>Putting the required fields in the form field was a preference as well. I wanted to make it easier to change for people with less exprience (or access) to edit. This way they only have to edit the form field. You&#8217;re right though, it would be just as easy to change a variable in PHP.</p>
<p>I would love to hear any other suggestions you may have. Send me an email if you&#8217;re interested Jonathan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Snook</title>
		<link>http://www.screenflicker.com/blog/coding/a-better-email-form-with-php/#comment-46</link>
		<dc:creator>Jonathan Snook</dc:creator>
		<pubDate>Mon, 24 Oct 2005 18:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenflicker.com/blog/?p=28#comment-46</guid>
		<description>In looking over the script, what about using the following to test if it's a post request.

if ($_SERVER["REQUEST_METHOD"] == "POST")

It'd save you having to include an additional form field.

Also, why are you popping all the field values into an array? And finally, why store the required fields in a form field? Why not store them in an array on the server side?</description>
		<content:encoded><![CDATA[<p>In looking over the script, what about using the following to test if it&#8217;s a post request.</p>
<p>if ($_SERVER["REQUEST_METHOD"] == &#8220;POST&#8221;)</p>
<p>It&#8217;d save you having to include an additional form field.</p>
<p>Also, why are you popping all the field values into an array? And finally, why store the required fields in a form field? Why not store them in an array on the server side?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

