/** * 检测验证码 * @param integer $id 验证码ID * @return boolean 检测结果 */function check_verify($code, $id = 1){ $verify = new \Think\Verify(); return $verify->check($code, $id);}
thinkphp 检测验证码
原文:http://www.cnblogs.com/ygw1010/p/6564427.html