It shouldn't be too hard :) - you just need to add the line
Code:
<?php echo recaptcha_get_html($publickey, $resp->error); ?>
into the suggestion form - this shows the CAPTCHA to your customers. Then in the code which sends the email, add in the check for a correct response
Code:
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
// set the error code so that we can display it
$messageStack->add('your-EZ-page', $resp->error);
$error = true;
}
Hope this helps
Regards
David
Bookmarks