开发者

reCAPTCHA not working in IE8

开发者 https://www.devze.com 2023-01-09 10:02 出处:网络
reCAPTCHA (Zend_Servi开发者_如何学Pythonce_ReCaptcha) is not working in IE 8 on our site. Look at this web site.

reCAPTCHA (Zend_Servi开发者_如何学Pythonce_ReCaptcha) is not working in IE 8 on our site.

Look at this web site. Does anyone know why? It is working elsewhere including FF,Opera, etc. Thanks a lot!


It is an https page, and the images and other items for reCaptcha are delivered via http and get blocked.


To answer the question; Is there anyway to enable HTTPS for reCAPTCHA?

I fixed it, just added array('ssl' => true) to params like this:

$recpatcha = new Zend_Service_ReCaptcha(
                '6Jd_ArXXXXXXXXXtdsT7zC69uy_X8rKcJWlMq9eK',
                '6Jd_AXXXXXXXXXXv_n5lMQ3OasSoHufjWndQ59ny',
                array('ssl' => true),
                array ('theme' => 'white', 'custom_translations' => array(
                    'instructions_visual' => gettext("Opíšte dvě slová"),
                    'instructions_audio' => gettext("Opíšte dvě slová")));
0

精彩评论

暂无评论...
验证码 换一张
取 消