Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
in short: building a website form so the user can enter his information including his phone number, and i need a way to verify his phone number. Am using PHP. any simple code/widget that i could add to the page without any installation or SDKs?
been looking for a server who can help me add a widget/code to my live website so the user verifies his phone number before signing in up.
I have found a lot of servers, some can't understand their docs; they required installing SDKs, and I can't finger out how to do that on the host server! if that what it means!
others add other options with the SMS, like call or email and I don't want that.
the last one I found firebase way, but I also couldn't understand how!
OK, my question is: is there a server or a way that is only to send SMS with code and check the code? i mean even if just send SMS and i could add the code to it and verify it with the function I could write.
i think it is so easy to do, but been looking for couple days and i don't why i couldn't find what i need!
If you want to autheticate the user with a phone number you can take a look on firebase
here is the documentation:
https://firebase.google.com/docs/web/setup
Also you can watch firebase tutorials series on youtube
This question too specific and there is no exac answer.
Mostly SMS depends to local providers (for simple cases). If you get SMS plan your provider and if supporting REST API or SOAP you can use simply. This info should be in docs.
In the worst case scenario, if there is not any info you can check SDK source code and extract SMS parts then create your function or class. After all if, else, basic CRUD operations.
When you need all services (SMS, Call etc.) SDK best way doing this. Yes SDK may has a lot of dependencies and complex but you can trust.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a potential customer who's web app needs functionality for multiple (possibly thousands) of users to be able to call in to a phone number and leave a voicemail. They'd need to use some kind of "pin" number that was associated with their account. After calling in and verifying their account with their pin number, they would leave a voicemail that would then get saved in a folder with a reference to their account id and file in the database.
Then they'd log into their account and see a list of MP3's that they have recorded by calling in.
I'm not sure how to get this done. I have taken a look at the Twilio api and i'm thinking maybe its a good solution, but the docs are so intensive i'm not really able to get a good footing to provide a quote.
Any suggestions on how to get this done would be awesome. And if you're an experienced Twilio API user, I'd love to hear if anyone's done anything like this.
Thanks!
Twilio evangelist here.
There are a couple of resources I'd recommend that might help get you up and running with Twilio enough to be able to provide a quote.
So keep in mind that Twilio will help facilitate the telephony part of your app (receiving inbound phone calls, sending voice prompts the caller, letting you know when the user presses buttons on their keypad), but the rest of the app logic should be just creating a standard web app.
To get started I'd recommend walking through the inbound voice quickstart. This should only take you 15 or so minutes and will get you familiar with the basic concepts of how Twilio works (webhooks and TwiML).
Once you've worked through the quickstart, we actually have a more full feature How To that demonstrated building a simple voicemail system. You can read through that, download the code and even use it as the basis for your own system.
Hope that helps.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am C/C++ developer and know basic HTML, we are planning to make website which have paypal (or maybe other vendor) integration and everything else is static content. Can I not make this website solely in HTML, many people suggesting me that, it is very essential to use server side language like ASP.Net or PHP etc for paypal integration.
Thanks.
It depends largely on what you want to do. It is possible to send request and users to PayPal without any server side code by using the PayPal forms/buttons. However in most cases this situation is not ideal as it means you have to manage what people have paid for manually by looking at the PayPal account.
Most websites (e-commerce) will have server side code which links to databases. This will handle transactions, purchase identifiers, user accounts (if applicable) and a variety of other things. You will also want server side code if you want to make use of the Instant Payment Notification system which is handy for knowing when a transaction has been successful/failed and so on.
If you want users to be able to buy something and then download it from your website you will want the later option. Unless you plan on setting up access accounts manually on a user-by-user basis.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
i have an android app that sends data to my web server (data is processed by php and stored in mysql db). for security reasons, i need to verify that the user sending the data is who he/she says he/she is.
i do not want to verify login/password, i would rather use the phone's registered (account manager) google account with something like federated login. i played around with nick johnson's example for GAE, but it is specific for GAE based apps and does not permit integration with my own server API's, therefore authentication does not work (i get a google authToken, but it is meaningless for my server API).
from what i understand, the safest+simplest solution would be to use OAuth.
but i am completely stumped trying to understand OAuth (i understand its concepts, but have not been able to find any example that i could implement).
does anyone have anything like a functional example that i could play around with and tweak for my needs? thanx in advance!
when ever a user login or use your app first time , you should capture his/her device mac address, and store it to the database, and you can easily authenticate user using this mac address
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to send SMS messages to multiple numbers in my database based on an event happening. I was wondering if there is a way of doing this in PHP or Javascript? Maybe there is a function like php's mail function?
If not does anyone know of any good and easy to implement systems paid or free?
I'd like to have a go at developing something like this myself, but have a feeling that it might take me a long time.
Any other information or tips on the subject would be greatly appreciated.
Thanks for the time.
Oh, also I'm using Ubuntu server if that helps.
There is no function in PHP or javascript that can send sms directly. SMS are basically based on Short Message Peer-to-Peer (SMPP) protocol so there is no way you can directly send sms programmatically. Yes you could use smsgateway or an existing api where you can make a http request from php. There are lot of sms service providers like VAS providers and there are lot of free and open source smsgateway like kannel which you can use to send/recieve sms or if you could configure your own gateway as well.
You typically use an SMS gateway to do this. There are many out there, google. Those offer an API of some sort (REST, SOAP, whatever) that you can make a request to. The gateway service will then send out the SMS message over the phone network. These services are typically paid for.
For very limited scenarios that only need to support certain carriers, you can often get away with sending a regular email to a special address, like [phonenumber]#carrier.com. Not all carriers support this though.
You can use a SMS gateway provider or setup your own gateway.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to do mobile phone based verification for users. I understand the code generation process and i understand maintaining cell phone carrier database. But to send the text, do I need a phone number or is it possible to use an internet address to send a verification code?
You're going to want to use a service such as http://www.twilio.com/ to send SMS.
They have an API for sending SMS here: https://github.com/twilio/twilio-php
There's a few good services out there for this. I've used Tropo and Twilio in the past, and both worked great. Tropo has pretty cheap international support and Twilio has better logs/analytics.
I suggest you to look at Tropo, twilio if you are staying in their supported countries. else you can talk to local telecom operator to get the SMS gateway access then you can push your sms through the HTTP interface. if you choose to do all at your own then I suggest you to get a GSM modem and program it to push your messages.
You can text their phone by sending an email. Each carrier has their own email structure to message users - so what I would do (on a small scale project) is collect their phone carrier/phone number (user submitted). And in a DB store the addressing scheme for the different companies.
For example:
Verizon: phonenumber#vtext.com
ATT: phonenumber#txt.att.net
there is one more project on phone verifications http://mOTP.in
mobile OTP without need of sms....good to give a try