ravishukla007 / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

v2 does NOT WORK on many servers because of php hardening! #211

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,
recaptcha v2 does not work on many-many-many servers because hardened php 
installations does not allow file_get_contents with url wrappers!
Please see 
http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen
v1 used fsockopen.
Please rewrite v2 to use fsockopen again.
Thank you.

Original issue reported on code.google.com by uxo...@gmail.com on 29 Dec 2014 at 1:14

GoogleCodeExporter commented 8 years ago
Hello,
Any progress?

Original comment by uxo...@gmail.com on 13 May 2015 at 2:42

GoogleCodeExporter commented 8 years ago
end of life for v1?
BUMP!!!

Original comment by uxo...@gmail.com on 1 Jul 2015 at 10:41

GoogleCodeExporter commented 8 years ago
Use curl instead.
http://pastebin.com/NZqNtUH7
Check $resp["success"] (boolean) to see if the CAPTCHA was correct or not.

Original comment by Manse...@gmail.com on 8 Jul 2015 at 8:08

GoogleCodeExporter commented 8 years ago
curl needs additional libraries, which may not be on every php installation 
too. so that would be equally bad, maybe a little better.

google, please do something.

Original comment by uxo...@gmail.com on 9 Jul 2015 at 7:32