#!/usr/bin/python # Import modules for CGI handling import cgi, cgitb # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from fields first_name = form.getvalue("First Name","(first_name)") last_name = form.getvalue("Last name",'(last_name)') print "Content-type:text/html\r\n\r\n" print "" print "
" print "