summaryrefslogtreecommitdiff
path: root/report.sh
blob: 954fcb8da49743041c5e7102c8c5ebbfc75fb785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
echo "Content-type: text/html"
echo ""

shortname = `param sname`

cat ./fileparts/header.html
echo "<!--"
set
echo "Sname: $FORM_sname"
echo "-->"

if [ "REQUEST_METHOD" = "POST"]; then
    echo "Looks like method was post!"
    #Make a thank-you-for-reporting-bug page
else
    echo "Method was: $REQUEST_METHOD"
    cat ./fileparts/report.html
fi
cat ./fileparts/footer.html