Sha256: 8b9007de35ba0a9bbc75a6eb27c362d4395aea63ca6096d03ad203293f7140fa

Contents?: true

Size: 650 Bytes

Versions: 3

Compression:

Stored size: 650 Bytes

Contents

<?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>';
?>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smparkes-envjs-0.0.12 test/vendor/jQuery/1.3.2/test/data/name.php
smparkes-envjs-0.0.11 test/vendor/jQuery/1.3.2/test/data/name.php
smparkes-envjs-0.0.10 test/vendor/jQuery/1.3.2/test/data/name.php