So I'm trying to add a google captcha to a friends php page at the bottom of his form.
I've followed the steps outlined here:
https://developers.google.com/recaptcha/docs/php
and it all works correctly APART from it shows the captcha at the top of the form...
In their example:
You can see it says action="verify.php" the captcha shows up at the top of hte form under this.... I thought it would show where the
is placed (which I've put mine just before submit) but apparently not...
can anyone shed some light please?
I've followed the steps outlined here:
https://developers.google.com/recaptcha/docs/php
and it all works correctly APART from it shows the captcha at the top of the form...
In their example:
Code:
<html>
<body> <!-- the body tag is required or the CAPTCHA may not show on some browsers -->
<!-- your HTML content -->
<form method="post" action="verify.php">
<?php
require_once('recaptchalib.php');
$publickey = "your_public_key"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
<input type="submit" />
</form>
<!-- more of your HTML content -->
</body>
</html>
You can see it says action="verify.php" the captcha shows up at the top of hte form under this.... I thought it would show where the
Code:
<?php
require_once('recaptchalib.php');
$publickey = "your_public_key"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
is placed (which I've put mine just before submit) but apparently not...
can anyone shed some light please?