Why can someone else use the verification code? Why can someone else use the verification code? The following is the code for obtaining the verification code. is the verification code too simple? how can we make it more complicated?
/**
*
PHP generates an example of a picture verification code to explain,
In this paper, we demonstrate 5 kinds of verification codes, and describe the function of generating verification code. PHP generated Verification code principle: Through the GD
PHP generated image verification code-with five kinds of verification code,
Previous output verification code used a method, in the foreground with JS generated verification code string, and then passed to the background with PHP output
Before the output verification code used a method, in the foreground with JS to generate a code string, and then passed to the background with PHP output CAPTCHA code image. This does not require the use of $_session to pass the verification code
Source:
3 dcaptchaHttp://www-personal.umich.edu /~ Mressl/3 dcaptcha/
Http://code.google.com/p/3dcaptcha/
Official logo
This example is complete.ProgramTranslation, no additional processing.
C #AlgorithmImplementation
/*** Dcaptcha
System Requirements : php5.3.3 above versionProject directory:/VAR/WEB/NEWZF2
preparatory work :Download the Zftool.phar and Zftool modules. To/var/webZftool.phar Address: Https://packages.zendframework.com/zftool.pharAddress of the Zftool module:
In IE, the verification code will not be refreshed, but there is no problem with Google and other browsers. The solution is to add a random parameter after the switching address of the Verification Code. Today, we found it in IE when doing the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.