blob: 7e25163293de04fc42ec536e28ec472aafdbad9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
switch ($_SERVER["REQUEST_METHOD"]) {
case "GET":
echo join(" ", array($_GET["v1"],
$_GET["v2"],
$_GET["v3"]));
break;
case "POST":
echo join(" ", array($_POST["v1"],
$_POST["v2"],
$_POST["v3"]));
break;
default:
echo "ERROR!";
}
?>
|