My favorites | Sign in
Project Logo
                
People details
Project owners:
  jnewland

php-akismet-contact

Written as a method to clear out my inbox. Spammers aggressively submit junk into any form they can find on the web, making most "Contact Me" forms useless. This is an attempt to fix that.

Security Measures

Example Form

<form action='contact.php' method='POST'>
  <input type='hidden' class='hidden' name='redirect' value='http://test.com/'>
  <label for='name'>Name</label>
  <input class='text' maxlength='40' type='text' size='18' name='name' value='Name' />
  <!-- spam bait - if the bcc field contains anything, this email is rejected -->
  <!--<label for='bcc'>Bcc</label>-->
  <!--<input class='text' maxlength='40' type='text' size='18' name='bcc' value='' />-->
  <label for='email'>Email</label>
  <input class='text' maxlength='80' type='text' size='18' name='email' value='' />
  <label for='comments'>Message</label>
  <textarea name='comments' cols='15' rows='4' type='text'></textarea>
  <input type='submit' value='Send'>
  <!-- any additional fields will be include in the email, but won't be checked for spam by Akismet -->
</form>

Required Parameters

Optional Parameters

All other parameters will be included in the email, but will not be checked by Akismet.

Please note that in order to use this, you must have a vaild WordPress API key (http://wordpress.com/api-keys/). They are free for non/small-profit types and getting one will only take a couple of minutes.

ToDo









Hosted by Google Code