GithubHelp home page GithubHelp logo

codecheck's Introduction

一.总述:codecheck,php验证码程序。 二.详解:①index.html测试文件 ②CodeFactory.php产生五种图片验证码(即数字验证码、字符验证码、汉字验证码、仿谷歌验证码、算术表达 式验证码)文件 ③CodeCheck.php测试文件(接收index.html文件的异步请求,并判断输入的验证码是否正确) ④official.ttf,汉字验证码中汉字所用字体文件 ⑤t1.ttf,仿谷歌验证码中字符所用字体文件 三.php验证码原理:先随机产生验证码上的内容,并将此内容写入session(方便后面校验),再使用php绘图技术 绘制带有前面所产生内容的图片,并在图片上加上一些干扰线,最后输出图片。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.