$xml$result"; die(); } $name = $_REQUEST['name']; if($name == 'foo') { echo "bar"; die(); } else if($name == 'peter') { echo "pan"; die(); } $request = apache_request_headers(); $request = $request['X-Custom-Header']; if(strlen($request) > 0) { echo $request; die(); } echo 'ERROR '; ?>