The example in this article describes the usage of the CI framework verification code CAPTCHA auxiliary function and is shared with everyone for your reference. The details are as follows:
Using the CAPTCHA auxiliary function is very convenient to generate verification codes, but the pictures are stored in the folder, not the output stream, which feels not perfect enough and can be used.
Instructions: Generate a 4-digit random number and create a captcha folder in the CI root directory.
The running results are as shown below:
I hope this article will be helpful to everyone’s CI framework programming.
PHP has many verification code classes! It can be used as a CI class library with almost no modifications. Google search php captcha to view the original post>>
PHP has many verification code classes! It can be used as a CI class library with almost no modifications. Google search php captcha to view the original post>>