Warning: Can't use blame annotator:
svn blame failed on branches/realtime_VDS/cgi-bin/saveEvals.py: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/realtime_VDS/cgi-bin/saveEvals.py @ 584

Revision 584, 566 bytes checked in by jdalbey, 6 years ago (diff)

import files to branch realtime VDS

  • Property svn:executable set to *
RevLine 
1#!/usr/bin/python
2# Import modules for CGI handling
3import cgi, cgitb
4# Create instance of FieldStorage
5form = cgi.FieldStorage()
6# Get data from fields
7output = ""
8for j in range(1, 3):
9    rating =  form.getvalue('evaluationGroup'+str(j))
10    if rating is not None:
11        output +=  form.getvalue('evaluationGroup'+str(j))
12        output += ", "
13
14print "Content-type:text/html\r\n\r\n"
15print "<html>"
16print "<head>"
17print "<title>Response CGI Program</title>"
18print "</head>"
19print "<body>"
20print "<h2>We read %s</h2>" % (output)
21print "</body>"
22print "</html>"
Note: See TracBrowser for help on using the repository browser.