4 years ago (2015-06-29)  Hundred Encyclopedias |   First to comment  8 
post score 0 times, average 0.0

Recently, Wang Baiyuan’s blog was frequently registered by robots or maliciously attempted login. Occasionally, he received 100 rubbish registration records in one night and received 100 login error email notifications in 10 minutes, which made the very guests very silent and bored.Try to shield IP and other methods still have little effect on the situation, the very guests can not consider joining the verification code, and currently only added a verification code in the registration page, use the Limit Login Attempts plug-in control login (Chinese version of the plug-in see articles :). The following is the PHP code to generate letters, symbols, and digital captchas. It is the extreme guest who has made some modifications to the Internet code: $strpol defines which letters, symbols, and numbers to use for verification codes.

Effect demonstration:

Http://wangbaiyuan.cn/others/tools/captcha.php

Php code generates letters, symbols, digital captcha pictures

   

 

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/php-create-letter-symbol-number-captcha-2.html

Post comment

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW