Php mail and text message verification the two functions need to be implemented in this project recently. these plug-ins are available in Baidu, no results available ------ solution -------------------- ask an interface for sending text messages to generate a random verification code, send it to the user using the interface, and store it in the database to correspond to the mobile phone number, and receive text messages by expired users, enter verification, go to the database for query, and check whether it corresponds to and expires ------ solution ------------- php mail and SMS verification
These two functions need to be implemented in this project recently. these plug-ins are not available in Baidu.
------ Solution ----------------------
An interface for sending text messages
Generate a random verification code, send it to the user through the interface, and store the code in the database to correspond to the mobile phone number. the verification code can also be expired.
The user receives a text message, enters the verification, queries the database, and determines whether the message corresponds to and expires.
------ Solution ----------------------
If you want to buy a text message interface from the carrier, they will give you a call to the document, asking for money
------ Solution ----------------------
If you want to send a text message, contact the carrier to buy an account. Then you can. Charged.