SMS from web application
I don't know if this applies to you, but what I have done many times to save myself the money is ask the user in his profile what his carrier is, then tried matching it with this list
. Essentially, many/most carriers have an email address connected to a phone number that will easily let you send texts to the number. For example, if you have ATT and your phone number is 786-262-8344, an email to 7682628344@txt.att.net will send you a text message with the subject/body of the email, free of charge. This technique will pretty much cover all of your US users for free. Obviously, depending on the needs of your application this may not be possible/adequate/desired, but it is an option to be aware of.
Can a web application use a personal phone to send a text message
If you could use an Android phone instead an iPhone, you could create a small gateway app on the Android that can send text messages without the need for the user's intervention.
It could work like this:
- The Android app would have a simple REST interface, a good start could be https://github.com/NanoHttpd/nanohttpd.
- An endpoint in the Android app could send messages, see Sending SMS programmatically without opening message app
- The software on the computer would use the rest endpoint on the Android phone to send the message.
This wouldn't work on the iPhone because it doesn't allow an app to send a text message without the user's intervention.
Web application send sms from my mobile phone?
If you are using android you could use the ADB Driver, from the console you can run this (obviously with your phone connected) and send the SMS.
adb shell am start -a android.intent.action.SENDTO -d sms:CCXXXXXXXXXX --es sms_body "SMS BODY GOES HERE" --ez exit_on_sent true
adb shell input keyevent 22
adb shell input keyevent 66
You can save this in a script and then be called via PHP shell_exec () function through there and integrate everything you want to do.
Can I ask for read SMS in website
According to the documentation, progressive web apps and/or HTML5 API can't read or send SMS. Things have not moved a lot since this thread
Receive SMS messages in a web application in the US on a hosted server
You might look into http://www.twilio.com/sms/ it's very reasonable pricing and the implementation is really very easy. You should be able to get something setup in a fairly short amount of time.
send and receive sms therough web application
You need to do the following in application:
- Get your inputs data first
- Concatenate them with some delimiter(,_....)
- Storing all concatenated data to one variable
- Then send it as body of SMS
In Server side:
- First get SMS from that port(e.g: 7777)
- Explode the SMS with delimter(,_....) that concatenated before
- Store the exploded data in server
But remember it will gets a big cost.
Building Bulk SMS Web Application
With those volumes, there is no way you are going to be able to get by without using an SMS shortcode. Even if you could technically get it to work with a regular number, I suspect you would be shutdown as a spammer pumping out so many messages on a regular phone number.
A short code will let you send at at least 30 messages per second (1800/minute), and supposedly they can up that for you if you have a justified need.
https://www.twilio.com/sms/shortcodes
and this:
https://www.twilio.com/help/faq/sms/can-my-twilio-sms-messages-be-blacklisted-as-spam
Can my Twilio SMS messages be blacklisted as spam?
Recipient carriers always reserve the right to filter out messages
from certain numbers, and routinely do so to protect their users from
spam.If you’ll be sending SMS messages as part of a bulk campaign (with 30
or more identical or similar messages going out within a few minutes),
we discourage you from using regular 10-digit numbers. Instead, we
highly recommend using an SMS short code.
Receive SMS messages by web application
http://www.clickatell.com/ are massive and it works exactly like it says on the tin. You pay for a phone number and sms messages sent to that end up hitting a URL on your site to deliver them just like someone posting a form.
Related Topics
How to Resize Pngs With Transparency in PHP
Utf-8 Bom Signature in PHP Files
How to Overwrite a Function in PHP
Incorrect Integer (2147483647) Is Inserted into MySQL
PHP Json_Decode() Returns Null With Valid Json
Create Programmatically a Woocommerce Product Variation With New Attribute Values
Right Way to Escape Backslash [ \ ] in PHP Regex
Is Possible to Keep Session Even After the Browser Is Closed
PHP $_Server['Http_Host'] Vs. $_Server['Server_Name'], Am I Understanding the Man Pages Correctly
Creating PHP Class Instance With a String
How to Prevent Code Injection Attacks in PHP
How to Require a Fork With Composer
PHP: How to Remove Specific Element from an Array
What Type of Hash Does Wordpress Use