recaptcha

twrobinette
Offline
Last seen: 3 years 11 months ago
Sat, 07/27/2013 - 20:47
#1
recaptcha

I'm getting spammed by bots through the contact form. How would I add recaptcha or some form of captcha to your template?

Neo
Offline
Last seen: 1 year 2 months ago
Mon, 07/29/2013 - 10:22

Hi,
Please read reCAPTCHA document here.
You can add code:
<?php
require_once('recaptchalib.php');
$publickey = "your_public_key"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>

after line 105 (file index.html)

<input type="text" name="email" placeholder="Your email">

and include recaptchalib.php to processForm.php file.

twrobinette
Offline
Last seen: 3 years 11 months ago
Mon, 07/29/2013 - 11:22

What do you mean "include recaptchalib.php to processForm.php file"?

Log in or register to post comments