Skip to content

Commit ead2773

Browse files
author
root
committed
first commit
0 parents  commit ead2773

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

index.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
header("content-type: text/xml");
3+
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
4+
?>
5+
<Response>
6+
<Gather numDigits="5" timeout="10000" action="zip-lookup.php" method="GET">
7+
<Say>
8+
hello, please enter your 5 digit zip code
9+
</Say>
10+
</Gather>
11+
</Response>

zip-lookup.php

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
header("content-type: text/xml");
3+
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
4+
echo "<Response><Say>You entered " . $_REQUEST['Digits'] . "</Say></Response>";
5+
?>

0 commit comments

Comments
 (0)