The verification code keeps showing an error. I modified it according to the teacher's video and the file sent by the teacher, but it still remains the same. Please check the details and find out what went wrong.
...
... 2019-04-15 00:40:02
0
5
1247

代码1.PNG代码.PNG代码1.PNG

...
...

reply all(2)
旭来哥

You can refer to the PHP Chinese website tutorial. The usage is introduced above. You need to install the think-captcha extension package with composer first. If you use it directly, 500 (server error) will be reported.

Peter-Zhu

What is your thinkphp version? When I recorded this video, tp5.1 had just come out, and the version was very low. After constant version iterations, it should now be 35 versions. Many codes have changed a lot. The current version The verification code class in has become a component and needs to be installed using composer before it can be used.

  • reply The 5.0.15 version I used earlier found an error in the verification code. Later, when I put the complete code from the teacher’s PHP Chinese website course into the project directory, it also prompted an error in the verification code. Do you need composer installation?
    ... author 2019-04-15 09:24:02
  • reply After composer installation, the error still occurs: GET http://www.lvbing.com/captcha.html 500 (Internal Server Error)
    萨格拉斯 author 2020-04-13 14:32:03
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template