<?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: Secure PHP Form Mailer Script</title>
	<atom:link href="http://www.dagondesign.com/articles/secure-php-form-mailer-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/</link>
	<description>WordPress Plugins, PHP Scripts, Tools, and Tutorials</description>
	<lastBuildDate>Fri, 06 Nov 2009 17:35:28 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John H</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-38/#comment-499208</link>
		<dc:creator>John H</dc:creator>
		<pubDate>Fri, 06 Nov 2009 08:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-499208</guid>
		<description>For those of you who are trying to get the standalone version to update a table on a mysql database, after loads of searching and playing I have got it to work like this. I added this code:

 $con = mysql_connect(&quot;host&quot;,&quot;user&quot;,&quot;password&quot;);
if (!$con)
  {
  die(&#039;Could not connect: &#039; . mysql_error());
  }

mysql_select_db(&quot;dbname&quot;, $con);
$sql=&quot;INSERT INTO tablename (fm_firstname, fm_lastname, fm_email, fm_etc, fm_etc)
VALUES
(&#039;$_POST[fm_firstname]&#039;,&#039;$_POST[fm_lastname]&#039;,&#039;$_POST[fm_email]&#039;,&#039;$_POST[fm_etc]&#039;,&#039;$_POST[fm_etc]&#039;)&quot;;


if (!mysql_query($sql,$con))
  {
  die(&#039;Error: &#039; . mysql_error());
  }

mysql_close($con);

after this bit:

$o .= &#039;&lt;!-- --&gt;&#039;;
	
		} else {

in the script around line 1750 ish.

Not sure if its the best way to do it, but I found that it wont update the db unless the form is filled in correctly, which is what I wanted.
Hope this helps.</description>
		<content:encoded><![CDATA[<p>For those of you who are trying to get the standalone version to update a table on a mysql database, after loads of searching and playing I have got it to work like this. I added this code:</p>
<p> $con = mysql_connect(&#8221;host&#8221;,&#8221;user&#8221;,&#8221;password&#8221;);<br />
if (!$con)<br />
  {<br />
  die(&#8217;Could not connect: &#8216; . mysql_error());<br />
  }</p>
<p>mysql_select_db(&#8221;dbname&#8221;, $con);<br />
$sql=&#8221;INSERT INTO tablename (fm_firstname, fm_lastname, fm_email, fm_etc, fm_etc)<br />
VALUES<br />
(&#8217;$_POST[fm_firstname]&#8216;,&#8217;$_POST[fm_lastname]&#8216;,&#8217;$_POST[fm_email]&#8216;,&#8217;$_POST[fm_etc]&#8216;,&#8217;$_POST[fm_etc]&#8216;)&#8221;;</p>
<p>if (!mysql_query($sql,$con))<br />
  {<br />
  die(&#8217;Error: &#8216; . mysql_error());<br />
  }</p>
<p>mysql_close($con);</p>
<p>after this bit:</p>
<p>$o .= &#8216;<!-- -->&#8216;;</p>
<p>		} else {</p>
<p>in the script around line 1750 ish.</p>
<p>Not sure if its the best way to do it, but I found that it wont update the db unless the form is filled in correctly, which is what I wanted.<br />
Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yamiza</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-38/#comment-498922</link>
		<dc:creator>yamiza</dc:creator>
		<pubDate>Mon, 02 Nov 2009 10:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-498922</guid>
		<description>The script is not working, I&#039;ve checked everything and it seems alright...  It won&#039;t send the e-mail to me.</description>
		<content:encoded><![CDATA[<p>The script is not working, I&#8217;ve checked everything and it seems alright&#8230;  It won&#8217;t send the e-mail to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-38/#comment-498607</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Thu, 29 Oct 2009 22:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-498607</guid>
		<description>IMAGE SUBMIT BUTTON

Trying to replace the submit button with an image, working fine in FireFox, Opera &amp; Safari, but no luck in IE. Any suggestions?

&lt;code&gt;&lt;input type=&quot;image&quot; src=&quot;/images/btns/submitRedBtn.gif&quot; name=&quot;form_submitted&quot; value=&quot;SUBMIT&quot; alt=&quot;SUBMIT&quot; class=&quot;button&quot;&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>IMAGE SUBMIT BUTTON</p>
<p>Trying to replace the submit button with an image, working fine in FireFox, Opera &amp; Safari, but no luck in IE. Any suggestions?</p>
<p><code>&lt;input type="image" src="/images/btns/submitRedBtn.gif" name="form_submitted" value="SUBMIT" alt="SUBMIT" class="button"&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debbie</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-498517</link>
		<dc:creator>Debbie</dc:creator>
		<pubDate>Wed, 28 Oct 2009 20:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-498517</guid>
		<description>Is there any way to style the input box (in FF) for the Browse button: input#fm_upload.fmfile? If I could just make the borders plain black 1px lines, even that would help.</description>
		<content:encoded><![CDATA[<p>Is there any way to style the input box (in FF) for the Browse button: input#fm_upload.fmfile? If I could just make the borders plain black 1px lines, even that would help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: His_wife80</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-498086</link>
		<dc:creator>His_wife80</dc:creator>
		<pubDate>Fri, 23 Oct 2009 09:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-498086</guid>
		<description>Sure, I can have fun drinking, but I need a place to walk and hike and get away from cement. ,</description>
		<content:encoded><![CDATA[<p>Sure, I can have fun drinking, but I need a place to walk and hike and get away from cement. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Settor32</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497990</link>
		<dc:creator>Settor32</dc:creator>
		<pubDate>Thu, 22 Oct 2009 20:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497990</guid>
		<description>Preparing your postsThere are four ways to post content to Posterous. ,</description>
		<content:encoded><![CDATA[<p>Preparing your postsThere are four ways to post content to Posterous. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex59</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497982</link>
		<dc:creator>Alex59</dc:creator>
		<pubDate>Thu, 22 Oct 2009 19:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497982</guid>
		<description>The certain and possible losses associated with unilateral and multi lateral political actions need to be examined. ,</description>
		<content:encoded><![CDATA[<p>The certain and possible losses associated with unilateral and multi lateral political actions need to be examined. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suzy</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497967</link>
		<dc:creator>Suzy</dc:creator>
		<pubDate>Thu, 22 Oct 2009 16:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497967</guid>
		<description>Has anyone managed to get the form fields to save to a data file? I have tried using a .txt file and a .csv file with 777 permissions but no fields are populating. The $save_path = &#039;data.csv&#039;; is relative to the dd-formmailer.php file. I have set $save_to_file = TRUE; and $save_email = TRUE; I have not modified anything below ** END OF OPTIONS. Can anyone give me any advise or tell me if I am missing anything? Thanks.</description>
		<content:encoded><![CDATA[<p>Has anyone managed to get the form fields to save to a data file? I have tried using a .txt file and a .csv file with 777 permissions but no fields are populating. The $save_path = &#8216;data.csv&#8217;; is relative to the dd-formmailer.php file. I have set $save_to_file = TRUE; and $save_email = TRUE; I have not modified anything below ** END OF OPTIONS. Can anyone give me any advise or tell me if I am missing anything? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbara61</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497947</link>
		<dc:creator>Barbara61</dc:creator>
		<pubDate>Thu, 22 Oct 2009 10:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497947</guid>
		<description>What about Autowin Book Club? ,</description>
		<content:encoded><![CDATA[<p>What about Autowin Book Club? ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jax</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497861</link>
		<dc:creator>Jax</dc:creator>
		<pubDate>Tue, 20 Oct 2009 18:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497861</guid>
		<description>I&#039;m getting an error that reads: 

Warning: mail() [function.mail]: SMTP server response: 553 sorry, your mail was administratively denied. (#5.7.1) in D:\Hosting\3043566\html\wp-content\plugins\dd-formmailer\dd-formmailer.php on line 496

Where exactly is line 496?</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting an error that reads: </p>
<p>Warning: mail() [function.mail]: SMTP server response: 553 sorry, your mail was administratively denied. (#5.7.1) in D:\Hosting\3043566\html\wp-content\plugins\dd-formmailer\dd-formmailer.php on line 496</p>
<p>Where exactly is line 496?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irwin</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497847</link>
		<dc:creator>Irwin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 12:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497847</guid>
		<description>I have been using this plugin for a few months without problem, but now users are getting the following error message when submitting forms: &quot;No verification code generated&quot;.  I would be appreciative if anyone can assist with info to help fix.  Thanks in advance.</description>
		<content:encoded><![CDATA[<p>I have been using this plugin for a few months without problem, but now users are getting the following error message when submitting forms: &#8220;No verification code generated&#8221;.  I would be appreciative if anyone can assist with info to help fix.  Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vincent</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497705</link>
		<dc:creator>vincent</dc:creator>
		<pubDate>Sun, 18 Oct 2009 12:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497705</guid>
		<description>Hi guys, anyone found a solution yet for linking to a custom errorpage? or even better staying on the same page as the submit form but highlighted the error fields?

Highly appreciated

Vincent</description>
		<content:encoded><![CDATA[<p>Hi guys, anyone found a solution yet for linking to a custom errorpage? or even better staying on the same page as the submit form but highlighted the error fields?</p>
<p>Highly appreciated</p>
<p>Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497370</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 15 Oct 2009 13:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497370</guid>
		<description>Firstly this is a great script and easy to set up for normal implementations.

One observation regarding the advice above to change &quot;_POST&quot; to &quot;_REQUEST&quot; to prepopulate fields - my reading of the script is that this won&#039;t work even if values are passed in the query string because it only populates data into the form if the &quot;$form_submitted&quot; variable is set, so it needs some tweaks elsewhere in the code too. (At least that&#039;s what I found on my install but I might be missing something!)</description>
		<content:encoded><![CDATA[<p>Firstly this is a great script and easy to set up for normal implementations.</p>
<p>One observation regarding the advice above to change &#8220;_POST&#8221; to &#8220;_REQUEST&#8221; to prepopulate fields &#8211; my reading of the script is that this won&#8217;t work even if values are passed in the query string because it only populates data into the form if the &#8220;$form_submitted&#8221; variable is set, so it needs some tweaks elsewhere in the code too. (At least that&#8217;s what I found on my install but I might be missing something!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rudolf Megert</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-497217</link>
		<dc:creator>Rudolf Megert</dc:creator>
		<pubDate>Mon, 12 Oct 2009 20:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-497217</guid>
		<description>I noticed from your script that i just now downloaded that you have incorporated UTF-8 encoding into the forms message fields.

However, the Subject line is not coming out in UTF-8 as i just tested with some German letters.
Where in the script would i have to add what lines of code to also turn the subject line output into UTF-8 format?</description>
		<content:encoded><![CDATA[<p>I noticed from your script that i just now downloaded that you have incorporated UTF-8 encoding into the forms message fields.</p>
<p>However, the Subject line is not coming out in UTF-8 as i just tested with some German letters.<br />
Where in the script would i have to add what lines of code to also turn the subject line output into UTF-8 format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Quirke</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496935</link>
		<dc:creator>Patrick Quirke</dc:creator>
		<pubDate>Fri, 09 Oct 2009 15:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496935</guid>
		<description>I need a the reply message to display what checkboxes the user have checked, how can i do this?</description>
		<content:encoded><![CDATA[<p>I need a the reply message to display what checkboxes the user have checked, how can i do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Friends</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496847</link>
		<dc:creator>Friends</dc:creator>
		<pubDate>Thu, 08 Oct 2009 15:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496847</guid>
		<description>Vielen Dank für diesen Vorschlag. Ich schicke Dir einen Gruß aus Deutschland.</description>
		<content:encoded><![CDATA[<p>Vielen Dank für diesen Vorschlag. Ich schicke Dir einen Gruß aus Deutschland.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Friends</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496846</link>
		<dc:creator>Friends</dc:creator>
		<pubDate>Thu, 08 Oct 2009 15:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496846</guid>
		<description>Vielen Dank für diesen Vorschlag. Ich schicke Dir einen Gruß aus Deutschland.

Thanks for the suggestion. I send you regards from Germany.</description>
		<content:encoded><![CDATA[<p>Vielen Dank für diesen Vorschlag. Ich schicke Dir einen Gruß aus Deutschland.</p>
<p>Thanks for the suggestion. I send you regards from Germany.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rui</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496665</link>
		<dc:creator>Rui</dc:creator>
		<pubDate>Tue, 06 Oct 2009 16:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496665</guid>
		<description>Hello thank for this lovely piece of code. How can I display a hidden text field</description>
		<content:encoded><![CDATA[<p>Hello thank for this lovely piece of code. How can I display a hidden text field</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496643</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 06 Oct 2009 08:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496643</guid>
		<description>Great script. I am helping re work a community web site http//:www.wings.net.nz and downloaded and tested your script using both basic and recaptch verification within minutes on my own site, great instructions and easy to use. Thanks for the help.</description>
		<content:encoded><![CDATA[<p>Great script. I am helping re work a community web site http//:www.wings.net.nz and downloaded and tested your script using both basic and recaptch verification within minutes on my own site, great instructions and easy to use. Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vincent</title>
		<link>http://www.dagondesign.com/articles/secure-php-form-mailer-script/comment-page-37/#comment-496597</link>
		<dc:creator>vincent</dc:creator>
		<pubDate>Mon, 05 Oct 2009 23:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/?p=35#comment-496597</guid>
		<description>Unfortunately I found that the date-picker is not working in firefox for mac. Anyone know a workaround

Still trying to solve the custom error page problem. Just dont know where to put the redirecting script</description>
		<content:encoded><![CDATA[<p>Unfortunately I found that the date-picker is not working in firefox for mac. Anyone know a workaround</p>
<p>Still trying to solve the custom error page problem. Just dont know where to put the redirecting script</p>
]]></content:encoded>
	</item>
</channel>
</rss>
