<?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: SPF30 &#8211; A Spam Blocking/Prevention PHP Library</title>
	<atom:link href="http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/</link>
	<description>A web development blog focusing on PHP, MySQL, Javascript, jQuery, and CSS.</description>
	<lastBuildDate>Thu, 26 Jan 2012 14:32:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/comment-page-1/#comment-2262</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 08 Jun 2011 00:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jqueryin.com/?p=411#comment-2262</guid>
		<description>I am attempting to implement jquery spf 30 to a contact form; however, I&#039;m having difficultly. I have defaulted to the example above for troubleshooting.   

Line 9 spam::validate($_POST);  Returns:

Catchable fatal error: Argument 1 passed to spam::validate() must be an instance of Input, array given, called in /&lt;i&gt;sitepath&lt;/i&gt;/test/form-handler.php on line 9 and defined in /&lt;i&gt;sitepath&lt;/i&gt;/spf30.php on line 51

I think I missing a basic step somewhere. I&#039;m not certain how to cast $_POST as an input.</description>
		<content:encoded><![CDATA[<p>I am attempting to implement jquery spf 30 to a contact form; however, I&#8217;m having difficultly. I have defaulted to the example above for troubleshooting.   </p>
<p>Line 9 spam::validate($_POST);  Returns:</p>
<p>Catchable fatal error: Argument 1 passed to spam::validate() must be an instance of Input, array given, called in /<i>sitepath</i>/test/form-handler.php on line 9 and defined in /<i>sitepath</i>/spf30.php on line 51</p>
<p>I think I missing a basic step somewhere. I&#8217;m not certain how to cast $_POST as an input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cballou</title>
		<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/comment-page-1/#comment-547</link>
		<dc:creator>cballou</dc:creator>
		<pubDate>Wed, 07 Jul 2010 16:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jqueryin.com/?p=411#comment-547</guid>
		<description>Thanks for the comment rhopek. I&#039;ll fix the first typo right after submission of this message.  In regards to your second issue, there&#039;s &lt;em&gt;another&lt;/em&gt; typo which attempts to pass &lt;code&gt;$this-&gt;input&lt;/code&gt; instead of &lt;code&gt;$_POST&lt;/code&gt; to the decryption function. My sincere apologies, I can see where this would cause quite a problem.

There&#039;s also an undocumented requirement for utilizing the library which I failed to mention in the initial post. You must have the PHP mcrypt module installed to be able to use the SPF30 library.

Hope this resolves your issues. Let me know!</description>
		<content:encoded><![CDATA[<p>Thanks for the comment rhopek. I&#8217;ll fix the first typo right after submission of this message.  In regards to your second issue, there&#8217;s <em>another</em> typo which attempts to pass <code>$this->input</code> instead of <code>$_POST</code> to the decryption function. My sincere apologies, I can see where this would cause quite a problem.</p>
<p>There&#8217;s also an undocumented requirement for utilizing the library which I failed to mention in the initial post. You must have the PHP mcrypt module installed to be able to use the SPF30 library.</p>
<p>Hope this resolves your issues. Let me know!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rhopek</title>
		<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/comment-page-1/#comment-546</link>
		<dc:creator>rhopek</dc:creator>
		<pubDate>Wed, 07 Jul 2010 15:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.jqueryin.com/?p=411#comment-546</guid>
		<description>Two things:

1) You have an error in your form.php. You have &#039;Email Address&#039; as the label for the &#039;Phone&#039; field.

2) The form-handler.php doesn&#039;t seem to actually contain any code to &quot;decrypt&quot; in the &quot;// no exceptions thrown, use decrypted form data as you please&quot; section. That page contains two dumps, but only the first one does anything.</description>
		<content:encoded><![CDATA[<p>Two things:</p>
<p>1) You have an error in your form.php. You have &#8216;Email Address&#8217; as the label for the &#8216;Phone&#8217; field.</p>
<p>2) The form-handler.php doesn&#8217;t seem to actually contain any code to &#8220;decrypt&#8221; in the &#8220;// no exceptions thrown, use decrypted form data as you please&#8221; section. That page contains two dumps, but only the first one does anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cballou</title>
		<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/comment-page-1/#comment-532</link>
		<dc:creator>cballou</dc:creator>
		<pubDate>Sat, 26 Jun 2010 21:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jqueryin.com/?p=411#comment-532</guid>
		<description>Adam, the only thing that will no longer function with javascript turned off is encrypting field values.  Both the spam prevention and field name encryption will still function as intended. I hope this answers your question!</description>
		<content:encoded><![CDATA[<p>Adam, the only thing that will no longer function with javascript turned off is encrypting field values.  Both the spam prevention and field name encryption will still function as intended. I hope this answers your question!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.jqueryin.com/2010/04/26/spf30-spam-blocking-prevention-php-library/comment-page-1/#comment-531</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Sat, 26 Jun 2010 18:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jqueryin.com/?p=411#comment-531</guid>
		<description>Does this still work if the end-user has disabled javascript?</description>
		<content:encoded><![CDATA[<p>Does this still work if the end-user has disabled javascript?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

