Created
November 9, 2011 17:10
-
-
Save RobSpectre/1352116 to your computer and use it in GitHub Desktop.
Demonstration of numDigits in 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
<Response> | |
<Gather numDigits="3" action="/digits.php"> | |
<Say>Enter more than 3 digits.</Say> | |
</Gather> | |
</Response> |
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 | |
$digits = $_REQUEST['Digits']; | |
?> | |
<Response> | |
<Say>Digits returned:</Say> | |
<Say><?php echo $digits; ?></Say> | |
</Response> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment