summaryrefslogtreecommitdiff
path: root/report.sh
blob: cbf7c52c6139f8596da166ef9dfb0c35f1d423d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
echo "Content-type: text/html"
echo ""

shortname = `param sname`

cat ./fileparts/header.html
<<<<<<< HEAD
echo "<!--"
set
echo "Sname: $FORM_sname"
echo "-->"
cat ./fileparts/report.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
else
    echo "Method was: $REQUEST_METHOD"
    cat ./fileparts/report.html
fi
>>>>>>> development
cat ./fileparts/footer.html