Thanks for replying.
I'm using dreamweaver cs5.5 but I don't think dreamweaver would affect
this. I've probably done something really stupid! (I've not done any
PHP before).
You should be able to see the source of the contacts.html
I have the following php file in the root folder (same as this
contacts.htm) and the recaptchalib.php in the same folder. Does this
look correct? As I say I've probably got confused and missed
something.
<?php
require_once('recaptchalib.php');
$privatekey = "Removed because its ment to be private but it is
correct";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die ("The reCAPTCHA wasn't entered correctly. Go back and try it
again." .
"(reCAPTCHA said: " . $resp->error . ")");
} else {
// Your code here to handle a successful verification
}
?>
This error 405 seems to indicate a problem on googles servers not
allowing POST but I can't imagine thats the case? could it be my
hosting server??
Thanks for any help,
Regards, Alan