Skip to content
这是一个基于 PHP 的 jQuery 中文点击验证码插件,码云地址:https://gitee.com/hooray/clicaptcha
PHP JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css no message Apr 28, 2017
demo demo修改 Feb 28, 2016
font 替换字体为思源黑体 Jun 15, 2017
image
README.md
clicaptcha.class.php 修复在php7.1下验证图片不生成的问题 Jul 29, 2019
clicaptcha.js
clicaptcha.php 后端验证码修改成php类的形式 Feb 28, 2016

README.md

clicaptcha

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

效果图

调用方式

<input type="hidden" id="clicaptcha-submit-info" name="clicaptcha-submit-info">
$('#clicaptcha-submit-info').clickCaptcha({
    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

You can’t perform that action at this time.