Hello all - I need to add a captcha to an existing php form. The form is located in a .php file.
when I add the following to the <form>
require_once('recaptchalib.php');
$publickey ="your_public_key";// you got this from the signup page
echo recaptcha_get_html($publickey);
I end up with a blank white page. Note: the public key has been added in my file.
There is a note in the tutorial that states:
<html>
<body><!-- the body tag is required or the CAPTCHA may not show on some browsers -->
<!-- your HTML content -->
It is my understanding that <html> and <body> cannot/should not be added to .php pages. If this is true, can captcha work within a .php file?
Thanks in advance for any and all help.
Gene