<?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: A new approach to block web spam</title>
	<atom:link href="http://www.jimwestergren.com/a-new-approach-to-block-web-spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/</link>
	<description>SEO Expert and Philosophical Sci-Fi Author</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:04:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Advertising scams</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-193213</link>
		<dc:creator>Advertising scams</dc:creator>
		<pubDate>Mon, 23 Jan 2012 09:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-193213</guid>
		<description>Nice trick. :) A lot of people I know hate completing certain types of datacaptcher codes, which I can understand as some of the newer ones are really difficult to read and you end up refreshing the images several times until you get one you can read.</description>
		<content:encoded><![CDATA[<p>Nice trick. <img src='http://www.jimwestergren.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  A lot of people I know hate completing certain types of datacaptcher codes, which I can understand as some of the newer ones are really difficult to read and you end up refreshing the images several times until you get one you can read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assistansbolag</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-126122</link>
		<dc:creator>Assistansbolag</dc:creator>
		<pubDate>Wed, 31 Aug 2011 10:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-126122</guid>
		<description>I have had much problem will spam and will try your instructions for my wordpress. If its working I will backlink you!</description>
		<content:encoded><![CDATA[<p>I have had much problem will spam and will try your instructions for my wordpress. If its working I will backlink you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assistansersättning</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-87214</link>
		<dc:creator>Assistansersättning</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-87214</guid>
		<description>As for Brian, I have the same problem. Will try it again. Get back to you if it dosen´t work. Best John</description>
		<content:encoded><![CDATA[<p>As for Brian, I have the same problem. Will try it again. Get back to you if it dosen´t work. Best John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tord</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-70258</link>
		<dc:creator>Tord</dc:creator>
		<pubDate>Sat, 12 Feb 2011 21:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-70258</guid>
		<description>Hello, I will try the program and get back with my results as an tribute to this thread. If its working well I have som idea on acually how to make money on it.</description>
		<content:encoded><![CDATA[<p>Hello, I will try the program and get back with my results as an tribute to this thread. If its working well I have som idea on acually how to make money on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-57153</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 06 Jan 2011 17:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-57153</guid>
		<description>Hi Jim,

Thanks for showing this to me. Unfortunately, I am having trouble implementing it. I would to put on a quote form to test it out. My php skills are practically zero. I just wondering the steps it takes to make this work.</description>
		<content:encoded><![CDATA[<p>Hi Jim,</p>
<p>Thanks for showing this to me. Unfortunately, I am having trouble implementing it. I would to put on a quote form to test it out. My php skills are practically zero. I just wondering the steps it takes to make this work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Westergren</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-53830</link>
		<dc:creator>Jim Westergren</dc:creator>
		<pubDate>Mon, 27 Dec 2010 08:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-53830</guid>
		<description>Thanks Tonkin.

I made a file called spam-log.txt in the root and made it writeable by PHP using CHMOD 777 and then I simply used the following:

&lt;pre lang=&quot;php&quot;&gt;
$minimum_seconds = 10;
if (!isset($_POST[&#039;time&#039;]) or $_POST[&#039;time&#039;] + $minimum_seconds &gt; time()) {
	$fh = fopen(&quot;spam-log.txt&quot;, a);
	fwrite($fh, &quot;1&quot;);
	fclose($fh);
	die(&quot;Error: blog post read, comment written and submitted in less than &quot;.$minimum_seconds.&quot; seconds. This is meaning that you are either a spam bot or you didn&#039;t read the post and wrote a good comment before submitting it. &lt;a href=\&quot;javascript: history.go(-1)\&quot; rel=&quot;nofollow&quot;&gt;Go back and try again if you are not a bot and have good intentions&lt;/a&gt;.&quot;);
}
&lt;/pre&gt;

Then I just counted how many 1&#039;s there was in that file.</description>
		<content:encoded><![CDATA[<p>Thanks Tonkin.</p>
<p>I made a file called spam-log.txt in the root and made it writeable by PHP using CHMOD 777 and then I simply used the following:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$minimum_seconds</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'time'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'time'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$minimum_seconds</span> <span style="color: #339933;">&gt;</span> <span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;spam-log.txt&quot;</span><span style="color: #339933;">,</span> a<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Error: blog post read, comment written and submitted in less than &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$minimum_seconds</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; seconds. This is meaning that you are either a spam bot or you didn't read the post and wrote a good comment before submitting it. &lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>javascript: history.go(-1)<span style="color: #000099; font-weight: bold;">\&quot;</span> rel=&quot;</span>nofollow<span style="color: #0000ff;">&quot;&gt;Go back and try again if you are not a bot and have good intentions&lt;/a&gt;.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Then I just counted how many 1&#8242;s there was in that file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonkin</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-53684</link>
		<dc:creator>Tonkin</dc:creator>
		<pubDate>Sun, 26 Dec 2010 18:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-53684</guid>
		<description>Hi Jim, I like your approach and use this on my site http://godona.com.  Could you please share the logging code?  I would like to implement it as well.

BTW:  I have your site on my blog roll.  You are quite brilliant.</description>
		<content:encoded><![CDATA[<p>Hi Jim, I like your approach and use this on my site <a href="http://godona.com" rel="nofollow">http://godona.com</a>.  Could you please share the logging code?  I would like to implement it as well.</p>
<p>BTW:  I have your site on my blog roll.  You are quite brilliant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: halay</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-44811</link>
		<dc:creator>halay</dc:creator>
		<pubDate>Fri, 19 Nov 2010 07:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-44811</guid>
		<description>Great stuff, Jim. I had actually had stopped allowing comments due to spam, but perhaps it’s time I revisited that.</description>
		<content:encoded><![CDATA[<p>Great stuff, Jim. I had actually had stopped allowing comments due to spam, but perhaps it’s time I revisited that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaiholo Hale</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-44691</link>
		<dc:creator>Kaiholo Hale</dc:creator>
		<pubDate>Tue, 16 Nov 2010 01:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-44691</guid>
		<description>Great stuff, Jim. I had actually had stopped allowing comments due to spam, but perhaps it&#039;s time I revisited that.</description>
		<content:encoded><![CDATA[<p>Great stuff, Jim. I had actually had stopped allowing comments due to spam, but perhaps it&#8217;s time I revisited that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Cortez</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-44690</link>
		<dc:creator>Alex Cortez</dc:creator>
		<pubDate>Tue, 16 Nov 2010 01:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-44690</guid>
		<description>So simple, yet so genius. Kudos, Jim.</description>
		<content:encoded><![CDATA[<p>So simple, yet so genius. Kudos, Jim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Techkol</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-44039</link>
		<dc:creator>Techkol</dc:creator>
		<pubDate>Wed, 27 Oct 2010 08:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-44039</guid>
		<description>Nice topic, but today many of human spreading spam for backlink...</description>
		<content:encoded><![CDATA[<p>Nice topic, but today many of human spreading spam for backlink&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Davis</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-43886</link>
		<dc:creator>Keith Davis</dc:creator>
		<pubDate>Sat, 23 Oct 2010 17:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-43886</guid>
		<description>Hi Jim
I&#039;ve just started using a new plugin by Andy Bailey of CommentLuv fame.

No need to type in a captcha code, just click a box and if you don&#039;t click the box a reminder comes up without navigating away from the page.

I&#039;ve deactivated Akismet and no longer have to check my spam for real comments.

Take a look on my site and see what you think.</description>
		<content:encoded><![CDATA[<p>Hi Jim<br />
I&#8217;ve just started using a new plugin by Andy Bailey of CommentLuv fame.</p>
<p>No need to type in a captcha code, just click a box and if you don&#8217;t click the box a reminder comes up without navigating away from the page.</p>
<p>I&#8217;ve deactivated Akismet and no longer have to check my spam for real comments.</p>
<p>Take a look on my site and see what you think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-43497</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Wed, 06 Oct 2010 20:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-43497</guid>
		<description>Good idea. My blog gets spammed all the time. Will try this solution. Thanks.</description>
		<content:encoded><![CDATA[<p>Good idea. My blog gets spammed all the time. Will try this solution. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Free Online Auctions</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-43093</link>
		<dc:creator>Free Online Auctions</dc:creator>
		<pubDate>Wed, 15 Sep 2010 07:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-43093</guid>
		<description>nice one JIM,. your probably a WP guru.</description>
		<content:encoded><![CDATA[<p>nice one JIM,. your probably a WP guru.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caily</title>
		<link>http://www.jimwestergren.com/a-new-approach-to-block-web-spam/#comment-42714</link>
		<dc:creator>caily</dc:creator>
		<pubDate>Wed, 25 Aug 2010 09:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jimwestergren.com/?p=269#comment-42714</guid>
		<description>Web spam is really annoying which troubles me a lot.Thank you for the article I will test the sugestions you provide.</description>
		<content:encoded><![CDATA[<p>Web spam is really annoying which troubles me a lot.Thank you for the article I will test the sugestions you provide.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

