[Zope] How to serve php from within Zope

Michel Pelletier michel@digicool.com
Sat, 18 Mar 2000 12:15:16 -0800


Andres Corrada-Emmanuel wrote:
> 
> Hi,
>         I'm using Apache to serve my Zope pages. I want to serve up some PHP scripts as part of a page wrapped with Zope methods. How do I serve the contents in the /some/other/directory/for/PHP/scripts from within Zope?
>         For example, I want to call index.php3 from within the index_html of a Zope folder and have the contents included in the place I make the call.

Zope doesn't know how to call or execute php code.  To do this, you need
to have Zope make an 'external' http call back out to Apache, which will
execute the php code, return it to Zope, which returns it to your
client.

Here is a good how-to on it:

http://www.zope.org/Members/lstaffor/ZClientMethod

-Michel