Choose your Pizza
File: action.py
#!c:/Python25/python
import cgi
def gen_html_header() :
print "Content-Type: text/html\n\n"
print ""
def gen_html_trailer() :
print ""
form = cgi.FieldStorage()
gen_html_header()
for e in form :
print "Received " + e + " = ["+form.getvalue(e)+"]
"