On 05/02/2012 08:29 AM, Mark Haney wrote:
Okay, I've bit the bullet and started mucking with the perl template
toolkit instead of mixing PHP and perl. But I've hit a bizarre problem
and I hope someone can point me to a fix. I'm stumped.
I've been following the base static and dynamic content generation
tutorials and am fairly comfortable with things. I just set up a dynamic
script that generates the same page as my php code. When I run the
script from the command line (and the browser) I get correct HTML output
/but/ the browser simply displays the code, it doesn't render it.
You are most likely not sending an appropriate Content-Type header.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/