This file contains 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 | |
header("Content-type: text/xml"); | |
?> | |
<Response> | |
<Say>Hello Monkey</Say> | |
</Response> |
This file contains 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 | |
$people = array( | |
"+17182493243"=>"Jack", | |
"+14158952614"=>"Rob"); | |
if(!$name = $people[$_REQUEST['From']]) | |
$name = "Owl"; | |
header("content-type: text/xml"); |
This file contains 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 | |
$people = array( | |
"+17182493243"=>"Jack", | |
"+14158952614"=>"Rob"); | |
if(!$name = $people[$_REQUEST['From']]) | |
$name = "Owl"; | |
header("content-type: text/xml"); | |
?> |
This file contains 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 | |
if($_REQUEST['Digits'] != '1'){ | |
header("Location: hellomonkey1.3.php"); | |
die; | |
} | |
header("content-type: text/xml"); | |
?> |
This file contains 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 | |
if($_REQUEST['Digits'] != '1' and $_REQUEST['Digits'] != '2') | |
{ | |
header("Location: hello-monkey-1.4.php"); | |
die; | |
} | |
header("content-type: text/xml"); |
This file contains 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 | |
require 'Services/Twilio.php'; | |
require 'credentials.php'; | |
$version = "2010-04-01"; | |
$phonenumber = "+17187018658"; |
This file contains 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'; | |
include 'credentials.php'; | |
$version = "2010-04-01"; | |
$client = new Services_Twilio($ACCOUNT_SID, $AUTH_TOKEN, $version); | |
try { |
This file contains 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 | |
header("Content-type: text/xml"); | |
$city = $_REQUEST['FromCity']; | |
$state = $_REQUEST['FromState']; | |
?> | |
<Response> | |
<Say><?php echo "Hello caller from $city , $state";?>.</Say> |
This file contains 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'; | |
include 'credentials.php'; | |
$client = new Services_Twilio($ACCOUNT_SID, $AUTH_TOKEN); | |
$filter = $client->account->sms_messages->getIterator(0, 500, array("To" => "+14042208109")); | |
print_r($filter); |
This file contains 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 | |
$ACCOUNT_SID = ''; | |
$AUTH_TOKEN = ''; | |
?> |
OlderNewer