[Zope] calling Zope objects from php
Guy Redwood
webmaster@siberianhuskyclub.com
Sun, 25 Feb 2001 15:58:21 +0000
Hi
Just wanted to share this with you.
We use the phorum bulletin board in php and Zope for the rest of our site
(truly smitten with Zope). I've just realised how to add the menus and
banner adverts (built in Zope) into the headers and footers of the bulletin
board php scripts. I originally thought of embedding php into Zope... but
it's easier to call zope from php!
Use the 'include' function to call Zope dtml methods through http.
Really easy....
<?php
include ("http://www.siberianhuskyclub.com/banners/show_banner");
?>
This just places the code for our banner adverts in the right place.
Guy
http://www.siberianhuskyclub.com