Jump to content

Recommended Posts

Hi,

I wrote a little class, which should help at least me or other webdevelopers to prevent spam in guestbooks and comments.

Sounds great ;) but I hope it is.

 

So at first the link to download: http://projects.citrosaft.com/floodassassin

 

How does it work?

You have to set up a mysql-database with a table where you can put your rules in. In the download-package there is already a dummy.sql with some rules included.

 

Set up a configuration.php with the default settings of your database (for more details read the full tutorial here) and load the class and check your incomming messages.

A detailed tutorial is found here.

 

So what is the result?

You get an array back with 3 parts.

The first is the message level. The higher the level the higher the chance of being spam.

the next part is just a detailed level-array and the last part contains the description.

If the level is higher or equal 3 the message is spam and if it's higher or equal 6 I think you can ignore the message.

 

I tested my tool and it found every spam-messages :)

 

I hope you enjoy it :)

greetings

-Benjamin

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.