PDA

View Full Version : Mobile SMS, confirm your Cell phone number



taphawane
05-03-2010, 02:46 AM
Hello every one I was trying to customize a code, for user to confirm there cellphone number after registration.
I need it because it more safe verify user by there cell phone number instead, of relying of email ID, because it very easy to create a new email and start posting again, after a trial have expire or after user get bad feedback. but a phone number is unique. I have HTML code that can send email very simple, but I want it to integrated inside my Geodesic website.
So the system will send a new user a random, code to there cell phone, for them to confirm it back to the website, This will work as a random password sent to email for them to confirm.
I am pasting a HTML code that used to send a SMS.
I have a SMS provider:



How to send SMS?

html-sms

You can send SMS using HTML SMSlink. This enables you to send SMS without accessing the website.

Use the following link and fill in the desired data:

https://www.mySMSprovider.com/myaccount/sendsms.php?username=xxxxxxxxxx &password=xxxxxxxxxx &from=xxxxxxxxxx &to=xxxxxxxxxx &text=xxxxxxxxxx

Explanation of the variables:

* username: My SMS provider username
* password: My SMS provider password
* from: any phone number (Always use international format for the number starting with +, for instance +491701234567)
* to: the number you wish to send the sms to. Always use international format starting with +, for instance +491701234567
* text: the message you want to send

let me know if somebody can use this code to complete my needs.
Thank you