I have a very unique situation. I must use a perl program that a company has already pre written and they are using a PERL package called HTML::Template. This is a very neat package, with the downside that when it comes to conditionals, you can't do ANYTHING with it. IF I can print a PHP header, instead of text/html header, I believe I can make perl parse PHP. I may be barking up the wrong tree, but here's an example of what I am talking about.

------ Sample of Current Output ------
print "Content-type: text/htmlnn";

my $template = HTML::Template->new_file($action . '.tmpl');
print $template->output;

In the .tmpl file, you use HTML type tags like this "<tmpl_var name="MESSAGE">" to print to the page.

What I woudl like to do is assign the "<tmpl_var name="MESSAGE">" to a PHP variable, and use PHP to read it and decide what to print

if MESSAGE is "YES" then the program would return one thing, if not, it would return another.

Personally, I would have written this differently, but the company wants it this way...

Basically what I need to know is what is the print "Content-type: text/????nn";
for PHP3