FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16447&edit=1

ID: 16447
Comment by: php@ideacode.com
Reported By: nikita at realitydrivendeveloper dot com
Summary: Create command line script for sending SMS messages
Status: Open
Type: Feature/Change Request
Package: Net_SMS
Operating System: Unix/Linux
Package Version: CVS
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

I agree! I already have a command line script that's specifically
hard-coded to use tmppl.com (my gateway), so we can refactor that
into the Net_SMS framework.

The question I have is how to generalize the script per driver -- that
is,
how to select the driver and supply the startup parameters for it (eg
authentication). Maybe a configuration file? Or just require the user

supply the information via the command-line and let them create their
own aliases/scripts to simplify?


Previous Comments:
------------------------------------------------------------------------

[2009-07-17 15:34:34] loci

Description:
------------
This can be very useful for those who need to send an SMS messages
right from the command line.

This script can use the main Net_SMS framework.

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Jul 18, 2009 at 7:52 am
    Edit report at http://pear.php.net/bugs/bug.php?id=16447&edit=1

    ID: 16447
    Updated by: daniel.oconnor@gmail.com
    Reported By: nikita at realitydrivendeveloper dot com
    Summary: Create command line script for sending SMS messages
    Status: Open
    Type: Feature/Change Request
    Package: Net_SMS
    Operating System: Unix/Linux
    Package Version: CVS
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    Perhaps this would be better as an example piece of documentation,
    rather than a command line script.

    IE this package is about providing a collection of drivers, not about
    sending sms from the command line.

    Patches welcome


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-07-17 18:08:12] bishop

    I agree! I already have a command line script that's specifically
    hard-coded to use tmppl.com (my gateway), so we can refactor that
    into the Net_SMS framework.

    The question I have is how to generalize the script per driver -- that
    is,
    how to select the driver and supply the startup parameters for it (eg
    authentication). Maybe a configuration file? Or just require the user

    supply the information via the command-line and let them create their
    own aliases/scripts to simplify?

    ------------------------------------------------------------------------

    [2009-07-17 15:34:34] loci

    Description:
    ------------
    This can be very useful for those who need to send an SMS messages
    right from the command line.

    This script can use the main Net_SMS framework.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 17, '09 at 4:10p
activeJul 18, '09 at 7:52a
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Php: 1 post

People

Translate

site design / logo © 2022 Grokbase