summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/php/var1.php
blob: 45741f5a25b85814181a800c10538b28fb893e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
	switch ($_SERVER["REQUEST_METHOD"]) {
	case "GET":
		echo $_GET["variable"];
		break;
	case "POST":
		echo $_POST["variable"];
		break;
	default:
		echo "ERROR!";
	}
?>