#!/usr/bin/python

# Import modules for CGI handling 
import cgi, cgitb 

# Create instance of FieldStorage 
form = cgi.FieldStorage() 

# Get data from fields
placename = form.getvalue('placename')

print "Content-type:text/html\r\n\r\n"
print "<html>"
print "<head>"
print "<title>Place test</title>"
print "</head>"
print "<body>"
print "<h2>Tell us about the sustainability practices at %s!</h2>" % (placename)
print "</body>"
print "</html>"
