1, installation
We install the Captcha expansion pack via Composer:
Composer require Mews/captcha
Note: Using this expansion pack in Windows also requires the installation of the GD2 extension (php.ini to cancel Php_gd2.dll in the previous
ProblemIn a less fortunate situation, people use automated programs to submit forms, causing a lot of rubbish throughout the internet. One way to prevent this is to use a CAPTCHA---CAPTCHA: fully automated to differentiate between computer and human
Topics
Many automatedProgramThe form is automatically submitted, causing a large amount of junk data on the Internet. To prevent this situation, we have implemented a graphic Verification Code (CAPTCHA:Completely automated public Turing test to
Ubuntu PHP server, captcha picture does not show characters, what's going on
Ubuntu PHP server, captcha picture does not display characters, what's going on?
There is a picture generated, that is, no character display. Is the character set wrong?
Ubuntu PHP server, captcha picture does not show characters, what's going on
Ubuntu PHP server, captcha picture does not display characters, what's going on?
There is a picture generated, that is, no character display. Is the character set wrong?
Want to save the captcha image on someone else's website, or display the same captcha image on my website. As a result, the verification code on his website is
What the hell is this? How to save this verification code locally, or refer to this image.
Refreshing the browser is normal.
How to solve, what code can force the verification code re-loaded.
Reply to discussion (solution)
Add a js random parameter after the generated address, url?r=math.random ()
">
You add a non-cached header
The problem with my PHP captcha is this:
Image corrupt or Truncated:http://localhost/htsys/?c=login&m=yzm
No matter how I debug always can not display the captcha picture, prompting the image for its own reasons can not be displayed ...
Tangled Up
solution to get no verification code when TP router creates ID first, confirm line connection is correct
When you create a Tp-link ID, you need to confirm that the phone or mailbox received the authentication code, if you fill out the information
The content of this tutorial is close to the technical direction I am good at: Safe contact forms.
As I mentioned in the previous tutorial, A common contact form helps a visitor communicate with you without exposing your email address to 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.