"Curious George", "+14158675310"=>"Boots", "+14158675311"=>"Virgil", "+14158675312"=>"Marcel" ); // if the caller is known, then greet them by name // otherwise, consider them just another monkey if(!$name = $people[$_REQUEST['From']]) $name = "Monkey"; // now greet the caller header("content-type: text/xml"); echo "\n"; ?> Hello .