athuman Posted February 10, 2015 Share Posted February 10, 2015 1.How could i generate the one time password and then to be transmitted from my website to mobile phone? 2.I need when the one time password become transmitted from the website to the mobile the user should re enter the pin for verification Quote Link to comment https://forums.phpfreaks.com/topic/294515-one-time-password/ Share on other sites More sharing options...
CroNiX Posted February 10, 2015 Share Posted February 10, 2015 That's a bit difficult without a 3rd party service. Each cell provider has a different way to send SMS to it's customers, and most likely you won't be able to find them ALL. There are services like Twilio that have an API to help. You can find more by googling "sms from website". Basically you'd just generate a unique code on your site, store it in the database for the user and send the SMS to them with their code. There would be some form on your site where they enter the code and you'd check it against the database. You probably also want to set a time limit on how long the code is valid for. You'd of course also need to know the users mobile phone number. Quote Link to comment https://forums.phpfreaks.com/topic/294515-one-time-password/#findComment-1505388 Share on other sites More sharing options...
Tom10 Posted February 11, 2015 Share Posted February 11, 2015 The only thing i can think of is make a cookie, that never expires unless the client clears their browsing cache, history etc. Quote Link to comment https://forums.phpfreaks.com/topic/294515-one-time-password/#findComment-1505461 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.