Recaptcha not working on https

后端 未结 7 1811

i have a site in codeigniter,and that site working perfectly on http.

My client moved the site to https.

Then now when user registr

7条回答
  •  失恋的感觉
    2020-12-18 01:56

    edit recaptchalib.php like this:

    find this line - function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false)

    change it to - function recaptcha_get_html ($pubkey, $error = null, $use_ssl = true)

    argument $use_ssl is changed from false to true... rest will be taken care of by the script..

提交回复
热议问题