3 $wait = $_REQUEST['wait'];
7 $xml = $_REQUEST['xml'];
9 header("Content-type: text/xml");
10 $result = ($xml == "5-2") ? "3" : "?";
11 echo "<math><calculation>$xml</calculation><result>$result</result></math>";
14 $name = $_REQUEST['name'];
18 } else if($name == 'peter') {
22 $request = apache_request_headers();
23 $request = $request['X-Custom-Header'];
24 if(strlen($request) > 0) {
28 echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';