Thanks Dave, for you hard work on this and for sharing. P.S. How can I vote for this post, for the PHP Awards?
QUESTION:
So as of now its only a response based service? Lets say I want to do 2 things.
A). I am traveling and want to build a list of followers. I ask them to text EdVizenor
[email protected] to DOTCOM. (In this case yes I own EdVizenor.com
They then get a Thank you text from me. Can the script sees the vars like, $Number $Keyword?
// Examples
$Number = $_POST['Number']; // The number they texted from.
$Keyword = $_POST['MessageBody']; // Any info they sent after EdVizenor
$ThankYou = "Thank you for joining my list. Have a great day.";
// example again
replyText($ThankYou);
// My script stores info in database.
INSERT Number, Keyword INTO ... /// etc
B) One week later I want to text all of them.
// example
$Numbers[] // script to get unique numbers
$Message = "Hi, it's Ed. Just a reminder about tonights live webinar. Visting this link to register: www.EdVizenor.com";
// script to loop though all $Numbers and send $Message.
So really they are TWO separate tasks, close but unique. So can this class do something like this?
Thanks again, Dave, for the hard work you put into this!
// loop through each number and sent text to them