mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
b7ece8c620
This reverts commit 228ab3ddae
.
24 lines
493 B
PHP
24 lines
493 B
PHP
<?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();
|
|
}
|
|
|
|
echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
|
|
?>
|