php+js實現極驗拖動驗證碼,如何實現拖動滑塊匹配圖形的驗證方式,PHP+js彈出滑動驗證碼源碼和DEMO
遠程驗證拖動是否正確
require_once dirname(__FILE__).'/TnCode.class.php';
$tn = new TnCode();
if($tn->check()){
$_SESSION['tncode_check'] = 'ok';
echo "ok";
}else{
$_SESSION['tncode_check'] = 'error';
echo "error";
}