Antispam WP Contact Form

After being at GNU/Linux Day and listening at Fullo's antispam scripting advices, I've just upgraded my WP-contact-form plugin with Akismet antispam control, and DNS domain check.

My version is 1.4.3a and it's based on Ryanduff's code, while I'm writing it's released at version 1.4.3.

To get the contact form with DNS check of the sender email address, and then the Akismet support you must follow this steps:

  1. Download 1.4.3 original version from Ryanduff website
  2. Overwrite original wp-contactform.php with my antispam version
  3. Download the Akismet.class.php, choose between PHP4 or PHP5 version
  4. Copy the PHP class into your wp-content/plugins/akismet directory (make sure the filename is Akismet.class.php)
  5. Obtain a key from WordPress.com website (you must be subscribed)
  6. Activate both plugins (Akismet and WP Contact Form) into your WordPress plugins page, then configure Akismet plugin with the key obtained, and the other plugin as you want
  7. Try if it's checking DNS by inserting random email address in the form, if it's working try if it's catching spam using "viagra-test-123" as Name

This software is released under the General Public License (GPL).

Note: DNS check doesn't works on Win32 servers, by operating system limitations.

©MMVIII Bologna Informatica - p.i. 0123456789