Discussion:
form submit send SMS
Gregor Leskovšek
2013-11-19 15:15:20 UTC
Permalink
Is it possible and how can I send an SMS with data from a submitted web
form?
Using Linux, Kubuntu LTS.
Thanks in advance, Gregor

♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
http://gleskove.userworld.com/ <http://moj.skavt.net/gleskovs/> ♥
Always, Gregor Leskovšek
Camilo Sperberg
2013-11-19 15:54:48 UTC
Permalink
Post by Gregor Leskovšek
Is it possible and how can I send an SMS with data from a submitted web
form?
Using Linux, Kubuntu LTS.
Thanks in advance, Gregor
♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
http://gleskove.userworld.com/ <http://moj.skavt.net/gleskovs/> ♥
Always, Gregor Leskovšek
Yes, it is possible. It has a certain degree of difficulty, but if you outsource the service, it is very cheap and easy.

If you google on "php send sms" you can learn a lot more than what I'm able to write about the subject.

Greetings.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bálint Horváth
2013-11-19 16:44:46 UTC
Permalink
For example using [GW]ammu is a simple way on Linux, see http://wammu.eu/.
It has a web interface too.
It's easy to call from PHP using exec().
Pre-written classes also available:
http://www.phpclasses.org/package/3865-PHP-Send-and-receive-SMS-messages-using-Gammu.html

Or it's possible to make a Perl script handles the GSM device. I really
love this solution.
http://search.cpan.org/dist/Device-Gsm/Gsm.pm

Good ways for own GSM modem.

...but there are lots of SMS gateway APIs. Some of them with free test
period and even could be cheap in case of bulk SMS sending.



*--Bálint Horváth*
Post by Camilo Sperberg
Post by Gregor Leskovšek
Is it possible and how can I send an SMS with data from a submitted web
form?
Using Linux, Kubuntu LTS.
Thanks in advance, Gregor
♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
http://gleskove.userworld.com/ <http://moj.skavt.net/gleskovs/> ♥
Always, Gregor Leskovšek
Yes, it is possible. It has a certain degree of difficulty, but if you
outsource the service, it is very cheap and easy.
If you google on "php send sms" you can learn a lot more than what I'm
able to write about the subject.
Greetings.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jonathan Sundquist
2013-11-19 17:00:59 UTC
Permalink
If you have the budget use a professional service such as Twilio. Their api
is very easy to use and quick to set up. I would also avoid using any type
of exec() function unless you are doing a very good job of checking to see
what is being executed. You would be opening yourself up the a number of
security attacks.
Post by Bálint Horváth
For example using [GW]ammu is a simple way on Linux, see http://wammu.eu/.
It has a web interface too.
It's easy to call from PHP using exec().
http://www.phpclasses.org/package/3865-PHP-Send-and-receive-SMS-messages-using-Gammu.html
Or it's possible to make a Perl script handles the GSM device. I really
love this solution.
http://search.cpan.org/dist/Device-Gsm/Gsm.pm
Good ways for own GSM modem.
...but there are lots of SMS gateway APIs. Some of them with free test
period and even could be cheap in case of bulk SMS sending.
*--Bálint Horváth*
Post by Camilo Sperberg
Post by Gregor Leskovšek
Is it possible and how can I send an SMS with data from a submitted
web
Post by Camilo Sperberg
Post by Gregor Leskovšek
form?
Using Linux, Kubuntu LTS.
Thanks in advance, Gregor
♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
http://gleskove.userworld.com/ <http://moj.skavt.net/gleskovs/> ♥
Always, Gregor Leskovšek
Yes, it is possible. It has a certain degree of difficulty, but if you
outsource the service, it is very cheap and easy.
If you google on "php send sms" you can learn a lot more than what I'm
able to write about the subject.
Greetings.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Continue reading on narkive:
Loading...