Re: form submit send SMS
| From: | Jonathan Sundquist | Date: | Tue, 19 Nov 2013 17:00:59 +0000 |
| Subject: | Re: form submit send SMS | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322477@lists.php.net to get a copy of this message | ||
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.
On Tue, Nov 19, 2013 at 10:44 AM, Bálint Horváth <hbalint@gmail.com> wrote:
> 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*
>
>
> On Tue, Nov 19, 2013 at 4:54 PM, Camilo Sperberg <unreal4u@gmail.com>
> wrote:
>
> >
> > On 19 Nov 2013, at 16:15, Gregor Leskovšek <legrega@gmail.com> wrote:
> >
> > > 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
> >
> >
>