--- /dev/null
+<?php\r
+$wait = $_REQUEST['wait'];\r
+if($wait) {\r
+ sleep($wait);\r
+}\r
+$xml = $_REQUEST['xml'];\r
+if($xml) {\r
+ header("Content-type: text/xml");\r
+ eval("\$result = $xml;");\r
+ echo "<math><calculation>$xml</calculation><result>$result</result></math>";\r
+ die();\r
+}\r
+$name = $_REQUEST['name'];\r
+if($name == 'foo') {\r
+ echo "bar";\r
+ die();\r
+} else if($name == 'peter') {\r
+ echo "pan";\r
+ die();\r
+}\r
+echo "ERROR";\r
+?>
\ No newline at end of file