Sha256: 544fab7021446ca0d183d9e646e737e5dbe60200805191d311dfb247386f21d8
Contents?: true
Size: 493 Bytes
Versions: 12
Compression:
Stored size: 493 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(); } echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>'; ?>
Version data entries
12 entries across 12 versions & 2 rubygems