Weitere ähnliche Inhalte
Ähnlich wie Sending data in cgi (20)
Mehr von Chaffey College (20)
Sending data in cgi
- 3. <html> <head> <title>Chapter 3 - Parsing Data</title> </head> <body bgcolor="#FFFFFF"> <form action="http://myServer/parse2.cgi" METHOD=POST> Comment <input type="text" name="myComment"> <p> <input TYPE = "submit" value = "Submit"> <input TYPE = "reset" VALUE = "Start Over"> </p> </form> </body> </html> #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html"; print "<HTML><HEAD><TITLE>Chapter 3"; print " - Output</TITLE></HEAD><BODY>"; print param('myComment'); print "</BODY></HTML>";