Howdy.
Here is the situation. I am running Debian Linux with Apache 1.3 and PHP4 as a module.
I have a PHP template that includes the HTML results via http of a cgi script that performs an XSL transformation on XML results from a database.
This CGI also returns PHP tags, which are needed to lock into other segments of code. I know it would be easier to get the CGI to do everything, but it isn't really feasible in this instance.
So, because it is CGI, it isn't parsed by PHP, as Apache doesn't tell it to. The question is, how do I change this? It's more of an Apache question, but PHP programmers must have come across this at some stage. All I need is for Apache to parse the returned results as if it were PHP before it sends the HTML on to the browser.
Any clues? I promise to use less acronyms in future.
Thanks,
Sam Piper
CWA New Media