#!/usr/bin/pythonimport cgi, sys
#Send errors to browser
sys.stderr = sys.stdout
#Parse data from form
data = cgi.FieldStorage()
#Send response to browser
print "Content-type: text/html\n"
print "CGI Form Response \n"
print "Current Quote
"
if data.has_key('name') and data.has_key('quote'):
print "%s: %s" % (data['name'].value, \
data['quote'].value)