Joke Collection Website - Public benefit messages - tp5wherein how to check

tp5wherein how to check

1. First, if there is no corresponding class package in tp5, you need to download it in composer. Here you can directly set some verification code related parameters in the configuration file.

2. The front-end page is also very convenient. There are two output formats. Only here is the output format of the image. It also adds a verification code that can be refreshed by clicking on the image.

3. Overall verification code submission process. Through the form bar verification code, the entered verification code is submitted to the controller for processing, so that verification can be done.

4. Receive the verification code in the controller and get the input verification code passed through input. Then match, reference the verification code class, and directly insert the input verification code into the verification method, as shown in the figure. If it is incorrect, a prompt will be output.

5. Finally, in the page renderings and code, if the output verification code matches the image verification code, click Submit and it will be sent to the background for judgment.