On 16/04/2013 03:02, Renato Barbosa Pim Pereira wrote:
I am trying to execute cgi101.py:
#!/usr/bin/python
import cgi
form = cgi.FieldStorage() # parse form data
print('Content-type: text/html\n')# hdr plus blank line
print('Reply Page')# html reply page
if not
I am trying to execute cgi101.py:
#!/usr/bin/python
import cgi
form = cgi.FieldStorage() # parse form data
print('Content-type: text/html\n')# hdr plus blank line
print('Reply Page')# html reply page
if not 'user' in form:
print('Who are you?')
else:
print