diff options
Diffstat (limited to 'debian/perl-framework/t/htdocs/php/var1.php')
-rw-r--r-- | debian/perl-framework/t/htdocs/php/var1.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/perl-framework/t/htdocs/php/var1.php b/debian/perl-framework/t/htdocs/php/var1.php new file mode 100644 index 0000000..45741f5 --- /dev/null +++ b/debian/perl-framework/t/htdocs/php/var1.php @@ -0,0 +1,12 @@ +<?php + switch ($_SERVER["REQUEST_METHOD"]) { + case "GET": + echo $_GET["variable"]; + break; + case "POST": + echo $_POST["variable"]; + break; + default: + echo "ERROR!"; + } +?> |