in reply to An unfortunate incounter with PHP (loading php output into a perl variable)

once it gets to apache it just dumps all the whole program as plain html to the browser without executing it

This actually sounds more like a problem with your webserver configuration. While calling another process might be a problem, it would show in a different way.

Are you sure you are able to execute any CGI scripts on your server? If no, try a simple test program first and fix your server configuration.

  • Comment on Re: An unfortunate incounter with PHP (loading php output into a perl variable)

Replies are listed 'Best First'.
Re: Re: An unfortunate incounter with PHP (loading php output into a perl variable)
by Bishma (Beadle) on Apr 30, 2003 at 23:06 UTC
    Yeah, the program executes fine so long as I comment out the header and footer lines.