reCAPTCHA just setup, need help.

665 views
Skip to first unread message

Gabriel McKenna

unread,
Jul 20, 2015, 9:54:22 AM7/20/15
to reca...@googlegroups.com
SO I processed a form without the captcha checked and it worked, it told me to fill out the captcha. SO when I did fill out the captcha I got this error message but everything still went through just fine:




Here is line 20:

        $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=MYSECRETKEY&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']);


MYSECRETKEY has been replaced, I just have hid it for the purpose of posting here.

Niels

unread,
Jul 20, 2015, 3:08:55 PM7/20/15
to reca...@googlegroups.com
The first warning is where your error lies. In your server's configuration, you cannot open external webpages as a file pointer. It works because you are still posting back to google that the recaptcha has been verified. You could ignore the warning, or you could find a way connect to a url without trying to read its contents.
Reply all
Reply to author
Forward
0 new messages