Click to See Complete Forum and Search --> : How to NOT print HTML headers!?


tyson.t
04-19-2005, 03:44 PM
Hi,


I'm having trouble setting up a webbbs message board. For some reason it insists on printing the HTML headers at the top of every page... I'm using

print "Content-Type: text/html\n\n";

but if I take it out I get the 500 Server Error.


Any help would be greatly appreciated. If you need more details just let me know.



Thanks!

Charles
04-19-2005, 08:50 PM
Use the CGI.pm (http://search.cpan.org/dist/CGI.pm/CGI.pm) module.