On Wed, May 2, 2012 at 8:29 AM, Mark Haney <ma...@abemblem.com> 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.
>
> 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.
>

Are you getting any errors in the server error log? I would check there first.

HTH,

Chris

--
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