Recaptcha PHP - What do I change in recaptchalib.php?

75 views
Skip to first unread message

Michael

unread,
Dec 16, 2008, 1:17:35 PM12/16/08
to reCAPTCHA
Sorry to be dense but..

When I type in a response on my form (http://captcha.oasis123.com/
example-captcha.php) I get the following:
"To use reCAPTCHA you must get an API key from http://recaptcha.net/api/getkey"

I have entered both keys in the recaptchalib.php file. Is this all, or
do I have to change something else?

Your help appreciated!
Michael

FredD

unread,
Dec 17, 2008, 12:51:45 PM12/17/08
to reCAPTCHA
Hi Michaeal, There is no need to edit the recaptchalib.php file.

In the code on example-captcha.php you should have a line of code
like :

$publickey = "..."; // you got this from the signup page
and
$privatekey = "..."; // you got this from the signup page

Seems to be the privatekey, you didn't fill in correct. Since its when
you are sending the request its giving you that error =)
Hope this helps you sort the problems.

For more information refer to this page: http://recaptcha.net/plugins/php/

--
Fred

On Dec 16, 6:17 pm, Michael <mshug...@gmail.com> wrote:
> Sorry to be dense but..
>
> When I type in a response on my form (http://captcha.oasis123.com/
> example-captcha.php) I get the following:
> "To use reCAPTCHA you must get an API key fromhttp://recaptcha.net/api/getkey"

Michael

unread,
Dec 17, 2008, 3:12:11 PM12/17/08
to reCAPTCHA
Thanks Fred

I had tried to place the keys in the recaptchalib.php as well.

It seems to work find now

Many thanks
Michael
Reply all
Reply to author
Forward
0 new messages