Debugging rule no. 1

Always run the CGI script from the command line before trying it in a browser!
unix> export QUERY_STRING="r=1.4"
unix> python hw2.py.cgi > tmp.html
unix> cat tmp.html
Load tmp.html into a browser and view the result
Multiple form variables are set like this:
QUERY_STRING="name=Some Body&phone=+47 22 85 50 50"

previousnexttable of contents