Created
November 23, 2011 20:49
-
-
Save RobSpectre/1389863 to your computer and use it in GitHub Desktop.
SMS forwarding
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 | |
header('Content-type: text/xml'); | |
$message = $_REQUEST['Body']; | |
?> | |
<Response> | |
<Sms to="{{YOUR_NUMBER}}"><?php echo $message; ?></Sms> | |
</Response> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Couldn't find that in any Twilio code examples. Solved my problem. Thanks.