Is there a way to have an SMS authentication? Meaning a user puts there phone number it, they get sent an SMS message with a number, put the number in the website to verify the account. Any tutorials?

Recommended Answers

All 3 Replies

Requires you to sign up with a phone service provider.
There are some easy ones where you pay just a few bucks and get code for integration.

Can't remember names.

It's pretty simple and you don't need to pay for a gateway.

You can send an SMS message just like an email. The wrinkle is that the email format differs between cell phone providers. When you want to do an SMS authentication, you must ask the person (on the website) for their cell number and provider name (best to use a drop-down list). Then, you must create the right email address format and send the message like a normal email. On the website, you will have a 'Continue' button and it will provide a form where they can enter the code. To get the formats for the various providers you can do a web search for something like 'PHP SMS send' and you'll probably find some sample code and as starting list of providers and formats. Any others that you need can be found by going to the web sites for the providers that you need.

Questions on working with SMS come up often enough I guess I'll have to create a tutorial but right now, this is what you get.

commented: Great Help +1

Thank you so much Chrishea. Very much help!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.