print "<form action="demo.py">" if flag == 1 and fName == "" : print "<p><FONT COLOR='red'>Enter your first name:</FONT></p>" else : print "<p>Enter your first name:</p>"
if error == 0 : print "Hello there " + fName + " " + lName return error
print "Content-Type: text/htmlnn" print "<HTML>" form = cgi.FieldStorage() res = gen_output(form) if res == 1: send_form(form) print "<form>" print "</html>"
Related Scripts with Example Source Code in same category :