The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the description of repo status
29 Star 171 Fork 49

Hooray / clicaptcha
Closed

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

clicaptcha

这是一个基于PHP的jQuery中文点击验证码插件

效果图

调用方式

<!-- 引入 jquery 和 js.cookie -->
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/js-cookie/2.2.1/js.cookie.min.js"></script>

<!-- 在页面需要位置加入隐藏域 -->
<input type="hidden" id="clicaptcha-submit-info" name="clicaptcha-submit-info">
$('#clicaptcha-submit-info').clicaptcha({
    src: '../clicaptcha.php',
	success_tip: '验证成功!',
	error_tip: '未点中正确区域,请重试!',
	callback: function(){
		//...
	}
});
//后端进行二次验证
require('../clicaptcha.class.php');
$clicaptcha = new clicaptcha();
echo $clicaptcha->check($_POST['clicaptcha-submit-info']) ? '后端二次验证成功' : '后端二次验证失败';

Vue 版

vue-clicaptcha

Comments ( 21 )

Sign in for post a comment

About

一个基于PHP的jQuery中文点击验证码插件 (php, jquery, captcha)项目已停止维护,如遇问题请自行解决 spread retract
PHP and 3 more languages
MIT
Cancel

Releases

No release

clicaptcha

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/hooray/clicaptcha.git
git@gitee.com:hooray/clicaptcha.git
hooray
clicaptcha
clicaptcha
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385