To make a website, you need to verify the mobile number of registered users, what should be done, what hardware or what outsourcing services are required?

Source: Internet
Author: User
The user fills the mobile phone number, the website sends the verification code or the dynamic password to the user, the user input completes the verification, is this process. Oh, location in Beijing.

Reply content:

The problem is simple, the actual design of 3 parts of the process:
Part I: Organizing validation content
In other words, to generate a dynamic verification code, you can use the phone number + the current timestamp to do a cryptographic operation and so on, to obtain a 4-6-bit verification code
Of course this time is not over, to the phone number and this verification code stored in the database (if it is temporary authentication, stored in the session is also possible)
Part II: Sending SMS
This is part of the process of sending the verification code you just organized to the corresponding phone user.
Many methods, such as the purchase of SMS CAT, purchase SMS channel, using the Fetion port
Of course, the way to buy SMS channels is recommended. After the purchase is over, the channel provider will give you the relevant development interface, there are text messages, receive text messages, query text messages and so on. It is possible to develop directly in your own programming language. The basic cost is about 6 cents a bar, buy more will be cheaper.
Part III: Verifying users
This is quite simple, take the user on the page to enter the number and your database in the comparison is OK, the rest of the want to do what to do. Of course, the user enters the number that is the verification code you sent to his phone.

There's nothing else, it's quite simple. Just note because it may be multi-user operation at the same time, so it is best to do a message pool and so on, every minute to detect whether there is a message pool sent SMS, and then sent collectively. In addition, if you have a background management interface, it is best to make some of the ability to send the success of the query, as well as the replacement of functions and so on. Suggest to provide the service provider of SMS send channel, Baidu Search can find a lot. Buy text messages can find me, the country's top SMS enterprise, providing apps, website construction, the major e-commerce verification Code SMS, voice SMS, bulk SMS, international SMS, qq461346653shenjievipweixin phone 15162242209 ali Fish find a message channel on the line, Demand big words directly to find agents, demand small words, write a program with SMS Cat hair bar, there are similar SMS agent or from a buy SMS cat and so on.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.