This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'Services/Twilio.php'; | |
| /** | |
| * POTUS is the oddity | |
| */ | |
| $items = array('NASA', 'NATO', 'AIDS', 'SCUBA', 'laser', 'POTUS'); | |
| $response = new Services_Twilio_Twiml(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'Services/Twilio.php'; | |
| /** | |
| * Uruguay is the oddity | |
| */ | |
| $items = array('United States', 'Brazil', 'Ireland', 'Singapore', | |
| 'Japan', 'Australia', 'United Arab Emirates', 'Peru', | |
| 'Uruguay', 'French Polynesia', 'Egypt', 'Greece', 'Qatar'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $items = array('United States', 'Brazil', 'Ireland', 'Singapore', | |
| 'Japan', 'Australia', 'United Arab Emirates', 'Peru', | |
| 'Uruguay', 'French Polynesia', 'Egypt', 'Greece', 'Qatar'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'Services/Twilio.php'; | |
| /** | |
| * | |
| */ | |
| $items = array('A bass was painted on the head of the bass drum.', | |
| 'The buck does funny things when does are present.', | |
| 'They were too close to the door to close it.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $items = array('A bass was painted on the head of the bass drum.', | |
| 'The buck does funny things when does are present.', | |
| 'They were too close to the door to close it.', | |
| 'Don\'t desert me here in the desert!', | |
| 'When shot at, the dove dove into the bushes.', | |
| 'The insurance was invalid for the invalid.', | |
| 'How can I intimate this to my most intimate friend?', | |
| 'With every number I read, my mind gets number and number.', | |
| 'He could lead if he would get the lead out.', | |
| 'I did not object to the object.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $items = array( | |
| 'A "bas" was painted on the head of the bass drum.', | |
| 'The buck does funny things when doze are present.', | |
| 'They were too close to the door to close it.', | |
| 'Don\'t desert me here in the desert!', | |
| 'When shot at, the dove dohv into the bushes.', | |
| 'The insurance was invalid for the invalid.', | |
| 'How can I intimate this to my most intimate friend?', | |
| 'With every number I read, my mind gets nummer and nummer.', | |
| 'He could lead if he would get the led out.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $items = array( | |
| 'Oak is strong and also gives shade.', | |
| 'Cats and dogs each hate the other.', | |
| 'The pipe began to rust while new.', | |
| "Open the crate but don't break the glass.", | |
| 'Add the sum to the product of these three.', | |
| 'Thieves who rob friends deserve jail.', | |
| 'The ripe taste of cheese improves with age.', | |
| 'Act on these orders with great speed.', | |
| 'The hog crawled under the high fence.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $json = file_get_contents('php://input'); | |
| $data = json_decode($json); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'credentials.php'; | |
| require 'vendor/Services/Twilio.php'; | |
| $json = file_get_contents('php://input'); | |
| $data = json_decode($json); | |
| //use the from/subject from the webhook call to create text message | |
| $sms_body = $data->message_data->addresses->from->name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'credentials.php'; | |
| require 'vendor/Services/Twilio.php'; | |
| require 'vendor/PHP-ContextIO/class.contextio.php'; | |
| $json = file_get_contents('php://input'); | |
| $data = json_decode($json); | |
| $message_id = $data->message_data->message_id; |