[Tutor] Having trouble with a form mail script.
alan.gauld@bt.com
alan.gauld@bt.com
Mon, 3 Jul 2000 12:04:33 +0100
> My problem is that I am trying to edit a script that creates
> a html page
This doesn't address your issue but...
> print "Content-type: text/html\n"
>
> print "<HTML>\n"
> print "<HEAD>\n"
> print "<TITLE>Submission successful</TITLE>"
> ....
> print "</BODY>\n";
> print "</HTML>\n"
Triple quoted strings are great for this...
print """<HTML>
<HEAD>
<TITLE>Submission successful</TITLE>
etc...
</BODY>
</HTML>"""
Saves some typing and presumably a bit of performance thru only
calling print once.
Alan G.