Python - Simple Example CGI
import cgi print 'Content-type: text/html\r\n' inputValue = cgi.FieldStorage() if(inputValue.has_key('variable')): print inputValue['variable'].value
DZone Snippets > whitetiger > variable
11376 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
import cgi print 'Content-type: text/html\r\n' inputValue = cgi.FieldStorage() if(inputValue.has_key('variable')): print inputValue['variable'].value
trace_var:$variabileGlobale, proc{ print "variabileGlobale modificata al valore --> ", $variabileGlobale, " "}