<?php
ini_set("log_errors", "On");
ini_set("error_log", "/path/to/error.log");
$number = $_POST['From'];
$body = $_POST['Body'];
$haystack = array("Hi", "Hello", "Hey")

header("content-Type: text/xml");
?>

<Response>
    <Message>
    Hello <?php echo $number ?>.
    You said <?php echo $body ?>
    </Message>
</Response>

} else {

<Response>
    <Message>
    Hello <?php echo $number ?>.
    I don't have that in my directory.
    </Message>
</Response>

