Skip to content

Instantly share code, notes, and snippets.

@jaboutboul
Created December 5, 2011 18:01
Show Gist options
  • Save jaboutboul/1434585 to your computer and use it in GitHub Desktop.
Save jaboutboul/1434585 to your computer and use it in GitHub Desktop.
Getting Caller's City and State - (718) 701-8814
<?php
header("Content-type: text/xml");
$city = $_REQUEST['FromCity'];
$state = $_REQUEST['FromState'];
?>
<Response>
<Say><?php echo "Hello caller from $city , $state";?>.</Say>
</Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment