[ic] Re: Stupid trick: mixing PHP/Interchange

Dan Browning interchange-users@icdevgroup.org
Mon Oct 21 02:22:00 2002


At 05:25 PM 10/19/2002 +0200, you wrote:


>Hi,
>
>On Thu, Aug 08, 2002 at 03:41:23PM +0100, marc.brevoort wrote:
> > URLs processed by interchange are prepended the root of the store, and
> > appended with .html. For example, if we specify
>
> > [ workaround for calling a PHP page clipped ]
>
>that seems to serve to call a PHP page from Interchange.
>
>Now how do I actually *mix* PHP and Interchange on one page?
>
>The reason why I want to do this is that there are some PHP systems
>out there that provide useful utilities and are hard enough to
>rewrite to ITL...
>
>So far I thought about creating a user tag that - behind the scenes -
>calls eg. wget and dumps the PHP generated code to the current page.
>But this is bound to be a performance killer as well as rather clumsy.
>
>
>Any suggestions are welcome!

Since you qualified your post with "any", I'll mention that Apache 2.0 has 
some neat stuff for output redirection, filters, etc.  You might checkout 
their docs.

--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies      <dan.browning@kavod.com> |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Electrocution, n.:
         Burning at the stake with all the modern improvements.