<?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: Processing Forms with PHP, a Beginner&#8217;s Guide</title>
	<atom:link href="http://www.joedolson.com/articles/2007/02/processing-forms-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/</link>
	<description>Tips and Commentary on Web Accessibility, Usability, and Search Marketing best practices.</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:15:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Ogbonda</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-41499</link>
		<dc:creator>Ogbonda</dc:creator>
		<pubDate>Wed, 06 Apr 2011 19:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-41499</guid>
		<description>I just finished designing my site www.powerhomebizz.com and I want to create a contact us page with a thank you page but i am having problems with the post action, how do direct the  action on  my web post to a folder on my server that is on my form &lt;form action=&quot;contact.htm&quot; method=&quot;post&quot;, how do i create a folder on my server so that any form submited will be seein in the folder. instead of showing me errors thanks</description>
		<content:encoded><![CDATA[<p>I just finished designing my site <a href="http://www.powerhomebizz.com" rel="nofollow">http://www.powerhomebizz.com</a> and I want to create a contact us page with a thank you page but i am having problems with the post action, how do direct the  action on  my web post to a folder on my server that is on my form &lt;form action=&quot;contact.htm&quot; method=&quot;post&quot;, how do i create a folder on my server so that any form submited will be seein in the folder. instead of showing me errors&nbsp;thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-38036</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Sat, 11 Dec 2010 12:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-38036</guid>
		<description>Hi!

Great tutorial, really enjoyed it. Do you have a follow up on how to read and use the input? Or any tips where I can fins good tutorials?

I have been able to create a form (containing 3 input-fields) and save all input in a csv-file. 
I have also been able to open the file with &quot;fopen&quot; and &quot;fgetcsv()&quot;and get the content as an array like this:  Array ( [0] =&gt; testing [1] =&gt; month [2] =&gt; this is a string of text ).
How ever now I&#039;m completely stuck. My idea is to use the input stored in [0] as a title on a &quot;blogpost&quot; and [1] as a choice of month and [2] as the actual text (a very short blogpost).

Any advice would be extremely appreciated!

Kind Regards
Lisa</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Great tutorial, really enjoyed it. Do you have a follow up on how to read and use the input? Or any tips where I can fins good&nbsp;tutorials?</p>
<p>I have been able to create a form (containing 3 input-fields) and save all input in a csv-file.<br />
I have also been able to open the file with &#8220;fopen&#8221; and &#8220;fgetcsv()&#8221;and get the content as an array like this:  Array ( [0] =&gt; testing [1] =&gt; month [2] =&gt; this is a string of text ).<br />
How ever now I&#8217;m completely stuck. My idea is to use the input stored in [0] as a title on a &#8220;blogpost&#8221; and [1] as a choice of month and [2] as the actual text (a very short&nbsp;blogpost).</p>
<p>Any advice would be extremely&nbsp;appreciated!</p>
<p>Kind Regards<br />&nbsp;Lisa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Siva</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-37312</link>
		<dc:creator>Alan Siva</dc:creator>
		<pubDate>Tue, 26 Oct 2010 06:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-37312</guid>
		<description>Hi, I was able to read your website would you be so kind to write about the pros and cons of having a window blind in the kitchen?</description>
		<content:encoded><![CDATA[<p>Hi, I was able to read your website would you be so kind to write about the pros and cons of having a window blind in the&nbsp;kitchen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KJ</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-34141</link>
		<dc:creator>KJ</dc:creator>
		<pubDate>Tue, 11 May 2010 23:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-34141</guid>
		<description>Thanks for the reply. It turns out the host uses a &quot;global&quot; php.ini file. All I needed to do was move a copy it into my domain folder and make modifications there to override some settings.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. It turns out the host uses a &#8220;global&#8221; php.ini file. All I needed to do was move a copy it into my domain folder and make modifications there to override some&nbsp;settings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-34138</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Tue, 11 May 2010 21:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-34138</guid>
		<description>@KJ The simple answer is to be sure to include an email &quot;From:&quot; header in the headers area of the &lt;code&gt;mail()&lt;/code&gt; function. That&#039;s described above in the example -- in the place where it says &quot;From: YourSurvey &lt;survey@domain.com&gt;&quot; you&#039;d substitute your desired From: address. 

There is, however, a more complicated answer -- on some server configurations, PHP doesn&#039;t automatically deliver from the From: header just because you&#039;ve told it to. Here&#039;s a brief FAQ discussing some of your options: &lt;a href=&quot;http://stackoverflow.com/questions/2014081/problem-with-php-mail-from-header&quot; rel=&quot;nofollow&quot;&gt;Problem with PHP mail From header&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@KJ The simple answer is to be sure to include an email &#8220;From:&#8221; header in the headers area of the <code>mail()</code> function. That&#8217;s described above in the example&thinsp;&#8212;&thinsp;in the place where it says &#8220;From: YourSurvey &lt;survey@domain.com&gt;&#8221; you&#8217;d substitute your desired From:&nbsp;address. </p>
<p>There is, however, a more complicated answer&thinsp;&#8212;&thinsp;on some server configurations, <abbr title="Hypertext PreProcessing">PHP</abbr> doesn&#8217;t automatically deliver from the From: header just because you&#8217;ve told it to. Here&#8217;s a brief <abbr title="Frequently Asked Questions">FAQ</abbr> discussing some of your options: <a href="http://stackoverflow.com/questions/2014081/problem-with-php-mail-from-header" rel="nofollow">Problem with <abbr title="Hypertext PreProcessing">PHP</abbr> mail From&nbsp;header</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KJ</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-34107</link>
		<dc:creator>KJ</dc:creator>
		<pubDate>Sat, 08 May 2010 16:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-34107</guid>
		<description>Well written guide. This has helped clear up some questions I have. One thing I have been unable to clear up, (and I&#039;m probably not searching the correct phrase) - when an autoreply is sent to the person who filled out the form, or the information from the form is mailed to a recipient, how do I make sure that &quot;From&quot; is an email address for the domain, and not a generic one created by the host?

TIA</description>
		<content:encoded><![CDATA[<p>Well written guide. This has helped clear up some questions I have. One thing I have been unable to clear up, (and I&#8217;m probably not searching the correct phrase) - when an autoreply is sent to the person who filled out the form, or the information from the form is mailed to a recipient, how do I make sure that &#8220;From&#8221; is an email address for the domain, and not a generic one created by the&nbsp;host?</p>
<p>TIA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi Kumar Jangra</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-33998</link>
		<dc:creator>Ravi Kumar Jangra</dc:creator>
		<pubDate>Sat, 01 May 2010 05:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-33998</guid>
		<description>Nice Form Submitions Example Realy 


Sir, how can we call the submitted values that rare stored in (survey.csv)  file on a html, php file to display what the submitins the visitor has provide.

plz let me know as soon as you go through this Comment.

or u can just mail me : rsuitor@yahoo.com, when the code is coocked.</description>
		<content:encoded><![CDATA[<p>Nice Form Submitions Example&nbsp;Realy </p>
<p>Sir, how can we call the submitted values that rare stored in (survey.csv)  file on a html, php file to display what the submitins the visitor has&nbsp;provide.</p>
<p>plz let me know as soon as you go through this&nbsp;Comment.</p>
<p>or u can just mail me : <a href="mailto:rsuitor@yahoo.com">rsuitor@yahoo.com</a>, when the code is&nbsp;coocked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-33866</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Tue, 20 Apr 2010 20:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-33866</guid>
		<description>I&#039;d recommend using PHP to report your errors rather than attempting to write JavaScript alerts as a result. What you&#039;ve done here won&#039;t do anything, because there&#039;s no trigger on the events. If you simply what you&#039;re echoing with plain text: &lt;code&gt;echo &quot;I am sorry, we need your First name, Lastname, and E-mail to process this form&quot;;&lt;/code&gt; it would be more effective.</description>
		<content:encoded><![CDATA[<p>I&#8217;d recommend using <abbr title="Hypertext PreProcessing">PHP</abbr> to report your errors rather than attempting to write JavaScript alerts as a result. What you&#8217;ve done here won&#8217;t do anything, because there&#8217;s no trigger on the events. If you simply what you&#8217;re echoing with plain text: <code>echo "I am sorry, we need your First name, Lastname, and E-mail to process this form";</code> it would be more&nbsp;effective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-33839</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Fri, 16 Apr 2010 16:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-33839</guid>
		<description>The basic pf your tutorial:
&lt;?php
if (isset($_POST[&#039;submit&#039;])) {
// This variable is to choose which type of processing you&#039;re using. 
$mode = &quot;email&quot;; // or &quot;csv&quot; or &quot;email&quot;
// These set your initial variables.
$firstname = $_POST[&#039;firstname&#039;];
$lastname = $_POST[&#039;lastname&#039;];
$email = $_POST[&#039;email&#039;];
   // it&#039;s good planning to set your variables explicitly before setting them programatically. 
   // EMPTY FIELD CHECK
	if( (empty($firstname)) &#124;&#124; (empty($lastname)) &#124;&#124; (empty($email) ))
	{
		echo &#039;alert(&quot;I am sorry we need: First Name, Last Name and E-mail.&quot;);&#039;;
		echo &#039;history.back(1);&#039;;
		exit;
	} /* EMPTY FIELD CHECK */
   $error = FALSE;
   if ($email == &quot;none&quot;) {
   $error = TRUE;
   }
   if (isset($firstname) &amp;&amp; isset($lastname) &amp;&amp; isset($email) &amp;&amp; $error == FALSE) {
   $process = TRUE;
   } else {
   $process = FALSE;
   }
once everything is filled in the form re-directs correctly, I just do not get the warning message to come up.</description>
		<content:encoded><![CDATA[<p>The basic pf your tutorial:<br />
&lt;?php<br />
if (isset($_POST[&#039;submit&#039;])) {<br />
// This variable is to choose which type of processing you&#039;re using.<br />
$mode = &quot;email&quot;; // or &quot;csv&quot; or &quot;email&quot;<br />
// These set your initial variables.<br />
$firstname = $_POST[&#039;firstname&#039;];<br />
$lastname = $_POST[&#039;lastname&#039;];<br />
$email = $_POST[&#039;email&#039;];<br />
   // it&#039;s good planning to set your variables explicitly before setting them programatically.<br />
   // EMPTY FIELD CHECK<br />
	if( (empty($firstname)) || (empty($lastname)) || (empty($email) ))<br />
	{<br />
		echo &#039;alert(&#8220;I am sorry we need: First Name, Last Name and E-mail.&#8221;);&#8217;;<br />
		echo &#8216;history.back(1);&#8217;;<br />
		exit;<br />
	} /* EMPTY FIELD CHECK */<br />
   $error = FALSE;<br />
   if ($email == &#8220;none&#8221;) {<br />
   $error = TRUE;<br />
   }<br />
   if (isset($firstname) &amp;&amp; isset($lastname) &amp;&amp; isset($email) &amp;&amp; $error == FALSE) {<br />
   $process = TRUE;<br />
   } else {<br />
   $process = FALSE;<br />
   }<br />
once everything is filled in the form re-directs correctly, I just do not get the warning message to come&nbsp;up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Dolson</title>
		<link>http://www.joedolson.com/articles/2007/02/processing-forms-with-php/comment-page-1/#comment-33838</link>
		<dc:creator>Joe Dolson</dc:creator>
		<pubDate>Fri, 16 Apr 2010 15:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.joedolson.com/articles/2007/02/processing-forms-with-php/#comment-33838</guid>
		<description>Well, what are you doing? What&#039;s the actual code you&#039;re using to create a required field?</description>
		<content:encoded><![CDATA[<p>Well, what are you doing? What&#8217;s the actual code you&#8217;re using to create a required&nbsp;field?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

