«

Fighting Comment Spam Without MT-Blacklist

<p> # Copyright 2001-2004 Six Apart. This code cannot be redistributed without<br /> # permission from www.movabletype.org.<br /> #<br /> # $Id: mt-comments.cgi,v 1.35 2004/05/17 19:51:25 ezra Exp $<br /> use strict; </p> <p> use CGI;<br /> my $cgi = new CGI;<br /> my $commentText = $cgi->param(&#8216;text&#8217;); </p> <p> if ($commentText =~ m/http:/i)<br /> {<br /> print &#8220;Content-Type: text/html;\n&#8221;;<br /> print &#8220;Status: 404 Not Found\n&#8221;;<br /> print &#8220;\n&#8221;;<br /> }<br /> else<br /> {<br /> my($MT_DIR);<br /> BEGIN {<br /> if ($0 =~ m!…

»

Recognize these faces?

<table> <tr> <td> <img src="/images/facetransformermeindian.jpg" /> </td> <td> <img src="/images/facetransformersarahold.jpg" /> </td> </tr> </table> <p> </center><br /> <a name="a000389more"></a><br /> <a id="more"></a> </p> <p> Ok, it probably wasn&#8217;t that hard, but it&#8217;s still amazing what a little algorithm can do. Check out the <a href="http://www.dcs.st-and.ac.uk/~morph/Transformer/index.html">University of St. Andrews Face Transformer</a> if you&#8217;ve got a decent pic of yourself and some time to kill. </p></p></div>…

»