1. Modify the two methods in the recaptchalib.php
Copy the Code code as follows:
function _recaptcha_http_post ($host, $path, $data, $port = 80) {$req = _recaptcha_qsencode ($data);$response = ";$url = $host. $path;$post _data = $req;$ch =
Php space does not support socket but curl recaptcha usage. For more information, see.
Php space does not support socket but curl recaptcha usage. For more information, see.
1. Modify the two methods in recaptchalib. php
The Code is as follows:
Php space does not support socket but curl recaptcha usage. For more information, see. 1. modify the two methods in recaptchalib. php
The code is as follows:
Function _ recaptcha_http_post ($ host, $ path, $ data, $ port = 80 ){$ Req = _
Php space does not support socket but curl recaptcha usage. For more information, see. 1. modify the two methods in recaptchalib. php
The code is as follows:
Function _ recaptcha_http_post ($ host, $ path, $ data, $ port = 80 ){$ Req = _
9 developers should know the PHP library is mostly foreign resources, but with the support of these PHP libraries, we will be able to develop in the future to speed up, will not do simple repetitive work.
1. ReCAPTCHA
The ReCAPTCHA library allows
The nine developers should know that most of the PHP libraries are foreign resources. However, with the support of these PHP libraries, we will certainly be able to accelerate development in the future without simple repetitive work.
1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.