短信验证码到用户电话号码 [英] SMS Verification Code to user Phone Number

查看:68
本文介绍了短信验证码到用户电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何验证注册表上的手机号码?

What can I do to verify that the mobile phone number on the registration form?

用户:网站RegisterForm > 输入电话号码> 电话确认码> Membership Ok!

User: Website RegisterForm > Enter the telephone number > Phone confirmation code > Membership Ok!

这是怎么做到的?

推荐答案

您没有提供太多关于您使用的技术的信息,因此可能有更适合您的案例的定制解决方案,但您需要生成您的访问代码(最好使用安全随机生成器),配置您的后端以访问 SMS Web 服务,例如 Esendex(请请注意,它不是免费的),通过它发送代码,然后验证用户输入的代码是否正是您生成的代码.

You don't give much information on what technologies you're using, so there might be a better tailored solution for your case, but you'll need to generate your access code (ideally using a secure random generator), configure your backend to access a SMS Webservice like Esendex (please note, it's not free), send the code through it and then validate that the code the user inputs is exactly the one you've generated.

此处您可以找到他们的 SMS PHP 链接开发工具包.

Here you can find a link to their SMS PHP SDK.

这篇关于短信验证码到用户电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆