I used google api and the code below to get captcha on my website, but could not get it on php website. I used below code
<html><body>
<?
require_once ("recaptchalib.php");
$mailhide_pubkey = '';
$mailhide_privkey = '';
?>
The Mailhide encoding of example@example.com is
<?
echo recaptcha_mailhide_html ($mailhide_pubkey,
$mailhide_privkey,
"example@example.com");
?>.
<br>
The url for the email is:
<?
echo recaptcha_mailhide_url ($mailhide_pubkey,
$mailhide_privkey,
"example@example.com");
?>
<br>
</body></html>
Please tell me the simple and best steps to get Captcha on the Php website.
source
share