Dump.cgi
Revision as of 16:59, 19 January 2009 by Michael Murtaugh (talk | contribs) (New page: <source lang="python"> #!/usr/bin/python import cgi fs = cgi.FieldStorage() print "Content-type: text/html" print print "<h1>dump</h1>" keys = fs.keys() keys.sort() print "<dl>" for ...)
#!/usr/bin/python
import cgi
fs = cgi.FieldStorage()
print "Content-type: text/html"
print
print "<h1>dump</h1>"
keys = fs.keys()
keys.sort()
print "<dl>"
for i in keys:
print "<dt>" + i + "</dt>"
print "<dd>" + str(fs.getvalue(i)) + "</dd>"
print "</dl>"