Joke Collection Website - Blessing messages - Whether the verification code function is implemented in PHP or JS

Whether the verification code function is implemented in PHP or JS

1. Both are possible;

2. Generally, the PHP I know uses PHP for verification, which is very convenient and can be done using the GD library

3. There are a lot of source codes on the Internet, you can download them and study them

4. If you do it in php, you can just put the randomly generated numbers in the session