hello,
i am trying to print out some html in my script and IE and Opera both
display the html properly, however netscape will actually display the html
as if it were a text doc. i would assume that something would be incorrect
in my content-type, but i just don't see it.

thanks -charles

#!/usr/bin/perl

&beginhtml;
&mainbody;
&endhtml;

sub beginhtml {
print <<begin_html;
  Content-type: text/html\n\n
  <html>\n
  <head><title>Control Panel</title></head>\n
  <body bgcolor=white>\n
begin_html
}

sub endhtml {
print <<end_html;
  </body>
  </html>
end_html
}

sub mainbody {
print <<main_body;
  Hello World
mainbody
}


Reply via email to