php-general Digest 21 Nov 2013 07:23:33 -0000 Issue 8431

Topics (messages 322475 through 322478):

Re: form submit send SMS
        322475 by: Camilo Sperberg
        322476 by: Bálint Horváth
        322477 by: Jonathan Sundquist

An upload that was, but now isn't...
        322478 by: PHP List

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On 19 Nov 2013, at 16:15, Gregor Leskovšek <legr...@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.

--- End Message ---
--- Begin Message ---
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 <unrea...@gmail.com> wrote:

>
> On 19 Nov 2013, at 16:15, Gregor Leskovšek <legr...@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
>
>

--- End Message ---
--- Begin 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 <hbal...@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 <unrea...@gmail.com>
> wrote:
>
> >
> > On 19 Nov 2013, at 16:15, Gregor Leskovšek <legr...@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
> >
> >
>

--- End Message ---
--- Begin Message ---
Hi,

Fair warning - not 100% PHP based question coming, but since it's almost
Friday, I thought I'd risk it.

My wife posed a question to me today for which I didn't have a very good
answer and thought I'd check the hive mind here.  At work, she uses a
certain service to upload PDF files, until about 3 days ago this worked
well enough.  However, in the past three days when she tries to upload
through the service she receives a variety of errors from 404 page not
found, to an unexpected error occurred, to the service is busy, or the
ever enjoyable endless spinning circle with nothing happening (at one
point she started an upload, went for lunch, came back to a meeting,
then on her way out for the evening forgot it was running to find it
still sitting spinning its wheels).  These files are all typically under
1MB, so the entire process itself shouldn't, and until three days ago
didn't, take all that long.

She's tried to use the same service outside of work (on our home ISP as
well as two separate cell providers) and it functions as expected.  So,
she's thinking something on her work network must have changed, but IT
isn't very interested in the matter.  She has tried on several different
computers in the office, all producing the same result of the file not
uploading with one of the above mentioned errors.

I have run into a similar problem in the past with a Hospital client
that had an IT staff that seemed to enjoy randomly pressing buttons. 
For awhile uploads would work, then one day - from within the office, no
go - outside the office everything ran as expected.  Eventually the
problem sorted itself out, which leads me to believe some random setting
was possibly changed on the network.  In such a situation, any pointers
on where an investigation may begin?  In my wife's case, I'm not sure
its an option to ask IT what was changed three days ago as she works in
a public school system that all connects through a large central
office.  But if she was able to pose the question a bit more
specifically, and the stars align themselves, perhaps an answer may be
found.

If this is a little too far into the OT realm, move along - these aren't
the droids you're looking for, and have a nice day :D  Otherwise, thanks
in advance for any advice you may be able to offer.

-Tim

--- End Message ---

Reply via email to