Home » Php » Twilio Safe User Inputs in PHP

Twilio Safe User Inputs in PHP

Posted by: admin October 26, 2017 Leave a comment

Questions:

Hello guys I have this problem with twilio.
I have this kind of situation when user calls and enter his zipcode.
How can I store or save the Digits:

<?php
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";?>

<Response>
 <Gather numDigits="5" action="get.php" method="POST">
    <Say>Please enter the 5 digit zipcode.</Say>
</Gather>

Answers: