Spammed Again

Turns out I forgot to activate/implement all my new fancy spam filtering, so I just had the pleasure of removing 43 spam comments from the database. Now I hope my new filters can keep them out, if not, then I guess I’ll just have to implement some sort of “type the text in the image” for the comments, ’cause there’s no way I’m letting my blog become a target of more spam.

I’m currently implementing phpSnatch, but it will probably take some time before I get the spam score threshold adjusted right.

About Anders K. Madsen

Creator and administrator of Lillesvin Networks. Bachelor of Linguistics and Cognitive Semiotics at the University of Aarhus, web developer, Ruby programmer, author of phpCF and amateur musician. Catch me on mail: madsen@lillesvin.net, Twitter: @lillesvin, or Google Talk: lillesvin@gmail.com, if you want to get in touch.
This entry was posted in Computers, Lillesvin Networks, PHP, Programming, Software. Bookmark the permalink.

5 Responses to Spammed Again

  1. bjarke sørensen says:

    Hello.

    Does phpSnatch have a way to track how many and which posting that have been blocked/filtered?

  2. stfiii says:

    As far as have “studiet” phpSnatch it doesn’t track anything it self. It simply checks, by the spam-number, if a post is to be blocked or not. But what do i know. Anyways, it sounds like a usefull feature.

  3. Madsen says:

    @ Stfiii >>
    You’re absolutely right, except that phpSnatch only assigns the spam score, it’s up to you to react to it. It can be done with very few lines of code.

    The prototype is:
    object Snatch( string name, string email, string content [, string subject [, string timestamp ]] )

    < ?php
    require_once 'class.Snatch.php';

    $m = new Snatch($name, $email, $content);

    if ($m->spam_points > 3.0) {
    // Most likely spam!
    } else {
    // Not spam.
    }
    ?>

    Btw Stffn, your above post got 1.3 points, probably because you didn’t provide an email…

  4. bjarke sørensen says:

    Yeah, okay – I think I got it. But this site does it then :-)

  5. steffii says:

    ok, there are ways to go about that i guess…

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>