recaptcha fopen – curl
-
my web hosting has told me I need to use curl instead of fopen completely new can anybody help
-
Hi,
Could you describe your problem in more detail, please?
Sincerely,
BestWebSoft Support TeamPlugin in settings
Google Captcha version 2 will not work correctly, since the option “allow_url_fopen” is disabled. Please contact your hosting support service.So i did
Host replies
If enabled, allow_url_fopen allows PHP’s file functions to retrieve data from remote locations such as an FTP server or web site, and could lead to code injection vulnerabilities.
Typically, these code injection vulnerabilities occur from improper input filtering when passing user-provided data to PHP functions. Disabling this function will help considerably in stopping your site(s) from being compromised, as well as help thwart the unauthorized use of our servers for abusive or malicious purposes.
It is not recommended to use that option. Instead you should use the curl library. If you are unable to do this yourself, you may need to ask a web developer to do this on your behalf.
Kind Regards,Hi,
Google Captcha works using “curl” since version 1.22, so
allow_url_fopenmessage is not relevant anymore. We’ll remove it in the nearest plugin update.Sincerely,
BestWebSoft Support Teamok then why is it not allowing google captcha to work on my site unless it is open I think I have the latest version how do I find out it says version 2
Hi,
If you don’t want to wait an update, you can add changes manually to the plugin code. To do so, please open “google-captcha.php” file in the edit mode (file is located here your_wp_root/wp-content/plugins/google-captcha), find line 48
return ( ini_get( 'allow_url_fopen' ) != 1 ) ? false : true;and replace this code with
return true;Save changes and check work and displaying reCAPTCHA v2.
Sincerely,
BestWebSoft Support TeamI know it sound easy delete a line an enter a line but I done that before and everything was lost
how long before the update ,I think I will not mess about with work that’s done by pros , I’m only learning and my first website went live last week , I had not even heard of wordpress last SeptemberHi,
Unfortunately, it is impossible for us to provide the precise release date, all we can say that we’ll release the update in the nearest future. Watch for changes in the plugin you can here – https://wordpress.org/plugins/google-captcha/changelog/
Sincerely,
BestWebSoft Support TeamI got brave worked fine thanks
Hi,
Feel free to contact our support team with any questions in future.
Have a nice day!
Sincerely,
BestWebSoft Support Team
The topic ‘recaptcha fopen – curl’ is closed to new replies.