First on the map:
Demo Address: http://aso.39gs.com/tncode/index.html
I believe in Taobao, betta these large sites have seen such a code, the code than the traditional drag a better mobile laboratory in the end, reduce the user's input.
Pole test verification code: verification code drag third-party charges, betta, pandas live, and many sites use this verification code.
This kind of a program, it felt quite good by way of a third party to achieve. So I want to use php + js to do a similar function, the name of it called tncode, 39 code, ha ha!
The main technical realization:
1, php matting
2, js canvas drawing
3, crack interference
4, the use of image formats webp
Download
Address a: https://github.com/binwind8/tncode
Location of: http://aso.39gs.com/tncode/tncode.rar
Some netizens feedback installed locally can not display the picture, users may be open error log reports the local environment, the processing method:
First, in the tncode.php error_reporting (7) change in error_reporting (0);
Second, if the above method is useless, please do the following:
- Please open the php error reporting, adding TnCode.class.php, error_reporting (7);
- Then TnCode.class.php in the header ( 'Content-Type: image / png'); Notes
- Open your browser to http: //xxxx/xxxx/tncode.php, will display an error report
- Please report message to me, thank you!