Sending an SMS using Javascript / PHP
Any examples of how to do this on my Linux KDE Laptop for a web page?
Thanks |
Did you do a search? Your heading turns up examples.
|
Quote:
thanks |
Copy and paste, or type the heading you gave the thread into yuur favorite search engine; ie google.
Here is the first hit I found, there are several. https://rapidapi.com/blog/sms-api-javascript/ |
Quote:
|
Quote:
I am a retired web designer living in a retirement viilage. There are around 600 residents, but each unit only has a unit number, not an actual street address. Calling a plumber, electrician, a taxi or just a friend to visit is a hard job for the visitor to find my unit. So, developed a web page, each resident is registered in a database that has in it their own mobile number and latitude/longitude of their unit. This will go by SMS to a taxi driver, plumber, etc... that will take them, using Google maps to the village resident who clicked the "send" button on my web page. I personally only program the web page, I have no involvement in sending the SMS. I hope you understand what I need the SMS service for. PHP / Javascript will be fine. Many Thanks |
Quote:
Quote:
Quote:
Quote:
Not sure why anyone can't just use the fairly-ubiquitous 'share my location' feature on most phones these days to do the exact same thing, nor why you think a plumber/taxi driver is going to be able to accept this. Plumbers will get a sheet in the morning with a list of addresses, and GPS from there, or get a new call and the address is read to them from the dispatch. Which won't know which plumber to send out of the MANY they may have. And all of this aside, you are going to *NEED* a device capable of sending SMS messages and you have two choices; sign up for an online service and follow their API, or buy a cell phone that you pay for and hook IT up. And you'll then need to somehow convince all your residents that they can trust you with their phone numbers for some database. |
Quote:
Have you ever lived in a retirement village in Australia? Probably not. In 95% of villages, caravn parks and resort - there is NO street address All mail and packages are delivered into a central mail room, where residents go and check to see if they got mail. Service providers, friends and Taxi are wasting their time to figure out. On the street I live, unit 18 is next to unit 136 etc... You Don't have to believe me, in which country do you live? Cheers |
Quote:
Either way, nothing changes; you either need a phone/device that can send SMS messages and have it plugged into your computer, or you need to sign up for an online service and use it, according to their guides. Until you pick one of those options and move forward, there's zero else that can be done. There is no magical script for PHP/Javascript that will just send SMS without some sort of SMS capable device. |
All times are GMT -5. The time now is 02:07 AM. |