Edit
by Sharan Rai - 10 years ago (2015-01-06)
Login page code that has SMS authentication
| I need code for a login page that has SMS authentication. |
Ask clarification
1 Recommendation
PHP SMS Authentication: Authenticate users once using codes sent via SMS
This class can authenticate users once using codes sent via SMS.
It can take a phone number of a user to authenticate and sends a HTTP request to a local server script that will send a SMS message to that number with a generated password using the TxtLocal API.
The generated password is stored in a MySQL database for subsequent verification.
The class can also verify the password entered by the user to authenticate him as owner of the given phone number by sending another HTTP request to the local server script to check the database to verify if the password is correct.
| by Manuel Lemos 26725 - 10 years ago (2015-01-19) Comment
If you mean to allow users to enter a phone number and get a code via SMS to prove they own that phone number, this class can be used for that purpose. |