diff options
| -rw-r--r-- | report.sh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -5,13 +5,17 @@ shortname = `param sname` cat ./fileparts/header.html + +echo "<!--" +set +echo "Sname: $shortname" +echo "-->" + if [ "REQUEST_METHOD" = "POST"]; then + echo "Looks like method was post!" #Make a thank-you-for-reporting-bug page - set - echo "<!--" - echo "Sname: $shortname" - echo "-->" else + echo "Method was: $REQUEST_METHOD" cat ./fileparts/report.html fi cat ./fileparts/footer.html |
