cgi and php

dvanhorn <[email protected]> Wed, 16 Jun 2004 17:11:12 -0400
Newsgroups gmane.org.ballistichelmet.devel
Message-ID <[email protected]>
A cgi script writes HTML to stdout, but what if I want to emit PHP code.  I
could just pipe the output through php right?  But how do I get it to behave
like any other php file served by the webserver, ie how do I get the right
include_path, etc.  Do I just have to emulate that environment by hand?

David