You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just can't read the value, I've uploaded the PHP files to my server but:
PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home2/admin/public_html/site.com/ReCaptcha/ReCaptcha/RequestMethod/Post.php on line 80
PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found in /home2/admin/public_html/site.com/ReCaptcha/ReCaptcha/RequestMethod/Post.php on line 80
Any advise? I'm not PHP developer so can't debug it :(
The text was updated successfully, but these errors were encountered:
There are a number of things to investigate here, though apologies as this is quite developer focused advice. If it doesn't make sense, it would be worthwhile contacting whoever provides your PHP environment to see what they can do.
Check and upgrade your PHP version.
See if you can enable the setting in your PHP configuration
Try running with some of the other request methods, e.g.
$recaptcha = new \ReCaptcha\ReCaptcha($secret, new \ReCaptcha\RequestMethod\Curl());
$resp = $recaptcha->setExpectedHostname('recaptcha-demo.appspot.com')
->verify($gRecaptchaResponse, $remoteIp);
Hey all,
<script src="https://www.google.com/recaptcha/api.js" async defer></script>I'm showing reCaptcha on my web form:
I just can't read the value, I've uploaded the PHP files to my server but:
PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home2/admin/public_html/site.com/ReCaptcha/ReCaptcha/RequestMethod/Post.php on line 80
PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found in /home2/admin/public_html/site.com/ReCaptcha/ReCaptcha/RequestMethod/Post.php on line 80
Any advise? I'm not PHP developer so can't debug it :(
The text was updated successfully, but these errors were encountered: