On Fri, 13 Jul 2001, Tony Paterra wrote:

> I have a cgi script that I need to past approx 40 lines of HTML into.  I was
> hoping I could just get away with having a
>
> print "<paste HTML here>";
>
> and get away with that but sadly no, I get incomplete set of headers errors.

You need to print out the header information also.  And perhaps put the
HTML into a here doc:

print "Content-Type: text/html; charset=ISO-8859-1\n\n";

my $html=<<"HTML";
<html>
  <head>
    <title>A title</title>
  <head>
  <body>
    Stuff
  </body>
</html>
HTML

print $html;

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
You can't hurt me!!  I have an ASSUMABLE MORTGAGE!!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to