Author: M.Sigley (6 Sep 12 8:39am)
I have implemented a basic registration form protection using a hidden "homepage" form field on my website.
My question is how do I report the spammer to my local honeypot script. I believe I have it correct but it would be nice if someone could check it for me.
Here is the php code I am using for catching spam registration form submissions:
if(isset($post_array['homepage']) && $post_array['homepage'] != '') {
//Spambot registration. Forward to honeypot for tracking and prevent registration.
header('Location: '.home_url().'/leadingdoor.php');
die();
}
/leadingdoor.php is my honeypot script.
|