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.

When I manually run it and dump the HTML file into a folder and open it in a browser (on the same server mind you) I get the correct rendering of the page.

So, what the devil am I missing? I'll be glad to send my stuff to someone offlist to work on this, since it might be slightly OT, but I'll take any help I can get.

--

Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to