Return to Help Center

Welcome to the Bravenet Help Forums. Here you can chat and meet other Bravenet Members. Please do not post advertisements.

Forum: Web Design Discussions
Start a New Topic 
  
Author
Comment
recaptcha

I am trying to integrate google's recaptcha in my site.
I have copied a tutorial which includes this PHP line:

$response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$recaptcha_secret."&response=".$_POST['g-recaptcha-response']);

I get this error:

Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /misc/25/000/093/688/9/user/web/dsoba.co.uk/registration/recaptcha4.php on line 26

Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6LcePAATAAAAABjXaTsy7gwcbnbaF5XgJKwjSNwT&response=): failed to open stream: no suitable wrapper could be found in /misc/25/000/093/688/9/user/web/dsoba.co.uk/registration/recaptcha4.php on line 26

Help!