Reorganzing the jQuery source (first phase).
This commit is contained in:
parent
13b66c8ba9
commit
b4e23b5af0
29 changed files with 16 additions and 16 deletions
29
test/data/name.php
Normal file
29
test/data/name.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
error_reporting(0);
|
||||
$wait = $_REQUEST['wait'];
|
||||
if($wait) {
|
||||
sleep($wait);
|
||||
}
|
||||
$xml = $_REQUEST['xml'];
|
||||
if($xml) {
|
||||
header("Content-type: text/xml");
|
||||
$result = ($xml == "5-2") ? "3" : "?";
|
||||
echo "<math><calculation>$xml</calculation><result>$result</result></math>";
|
||||
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 <script type="text/javascript">ok( true, "name.php executed" );</script>';
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue