- <?php
 
- header('Content-type: text/xml');
 
- if (isset($_REQUEST['PhoneNumber'])) {
 
- $client = htmlspecialchars($_REQUEST['PhoneNumber']);
 
- }
 
- ?>
 
- <Response>
 
- <?php if (empty($client)) { ?>
 
-  <Dial>
 
- <Client><?php echo $client; ?></Client>
 
- </Dial>
 
- <?php } else { ?>
 
- <Say>An Error Occurred. We are sorry.</Say>
 
- <?php } ?>
 
- </Response>
 
 
  |