views:

184

answers:

4

I am designing a website.I want to validate the mobile no. entered by the user on the registration page, by sending a verification code to his mobile phone. Can anyone give me pointers to how should i proceed with it??

A: 

Probably the easiest solution is to use some webservice for sending SMSs.

For an example see this: http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx

Kalmi
+1  A: 

There are two options, depending on your budget.

Option 1 - buy an SMS gateway and install it on your server. You can then call an API from your server-side script that will send an SMS - you will need to supply the mobile phone number and the text content. This is the more expensive option unless you have a lot of volume.

Option 2 - use an SMS gateway service. In this case, someone else operates the gateway and you call their API to send messages. You normally buy "bundles" of texts to use this, so the cost depends on the number of texts you buy.

Sohnee
+2  A: 

Uh, that really depends on what you're doing.

You can, for example, connect a phone to the server and send messages using a solution like gnokii or something like this. Or you can use one of email/www to SMS gates that are out there, on the internet.

On the other hand, you can reverse your usecase a bit. Instead of sending a confirmation code to the user (and, I guess, asking him to enter it back on your site) you can display a confirmation code to the user and ask to send a text message to the number you display.

This makes a user having to text you. First it lowers your expenses (if you pay for the message) and second, can prevent the evil users from trying to DOS your SMS system.

kender
+1 for mentioning email2SMS gateway. That's a good one.
Guru
A: 

I dint know that one gets real time answers here.. really a great community. Thank you all for your answers. The web site i am developing is a Web portal for maintaining database of blood donors and enabling easy registration of donors. And i am aiming student community of a specific area (initially)..i think using an sms gateway service would be enough at this moment. I was exploring services and i cam across www.smscountry.com and www.foosms.com ... recommendations for the same would be very useful for me.

Nitin Garg