#!C:\Python27\python.exe import cgi form = cgi.FieldStorage() print "Content-Type: text/html" print "" # print "" # print "

" if form["password"].value == "12345": print "1" else: print "0" # print "The user entered data are:
" # print "Password: " + type(form["password"].value) + "
" # print "

" # print ""