久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      PHP實現(xiàn)的拖拽圖形驗證,簡單易用!

      最近看到一些拖拽驗證碼的帖子,本著好奇和研究學(xué)習(xí)的態(tài)度簡單實現(xiàn)了第一版的 拖拽驗證

      項目地址:github.com/RLOFLS/drag-captcha

      示例

      PHP實現(xiàn)的拖拽圖形驗證,簡單易用!

      PHP實現(xiàn)的拖拽圖形驗證,簡單易用!

      邏輯:

      PHP實現(xiàn)的拖拽圖形驗證,簡單易用!

      api

      • php Drag

        • generate() 生成渲染數(shù)據(jù) dst, front
        • verify() 驗證匹配結(jié)果
      • js Drag

        • matchFunc() 實現(xiàn)用戶拖拽觸發(fā)匹配
        • render() 渲染拖拽界面
        • matchSuccess() 設(shè)置 匹配成功 樣式
        • matchFail() 設(shè)置 匹配失敗 樣式
        • destroy() 銷毀拖拽界面

      composer: composer require rlofls/drag-captcha

      原文地址:https://learnku.com/articles/69652

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號