Joke Collection Website - Blessing messages - How to control the sending frequency of PHP SMS verification code?

How to control the sending frequency of PHP SMS verification code?

1, add verification code;

2, add time limit, take effect after a certain period of time;

3. The database stores the sending information of the mobile phone, such as mobile phone number, time, IP, etc.

4. According to the collected data, judge whether to brush the phone, disable IP or mobile phone number, etc. , and set the disable time.

5. According to the actual situation, set the number of short messages with the same IP and mobile phone number every day.