July 7th, 2004, 01:03 AM
Also, you'll need to change your script to print an appropriate response header and send your output to stdout, instead of to a file.
# Print a header and a blank line afterwards to indicate end of header
print "Content-type: text/html"
# Now print your HTML page
print " Hello World"
Also, to make your CGI script handle form variables, you may wish to use the following modules:
# The next two lines are useful, to print script errors to the browser
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne