RE: [ap2/mp2] post-processing handler output with another module (php)

[prev] [thread] [next] [Date index for 2005/03/13]

From: John ORourke
Subject: RE: [ap2/mp2] post-processing handler output with another module (php)
Date: 15:44 on 13 Mar 2005
-----
From: Matthew Westcott [mailto:matthew.westcott@xxxxxxxx.xxx]
Sent: 13 March 2005 15:27

On 13 Mar 2005, at 14:20, John ORourke wrote:

> > I'm sure I should know this, but I'm trying to post-process the output
> > of my
> > handler with PHP.  I'm still a bit green on Apache inner workings and
> > just
> > can't make it happen.

> Just to be clear - your mod_perl handler is outputting PHP source which
> you then hope to feed to PHP? If so, I don't think it's possible
> directly - PHP can only be invoked as a response handler which reads
> the script from the filesystem, and there can only be one response
> handler in use. That said, I have two suggestions of varying hairiness:

Yes, I'm writing out php source - the single response handler kind of kills
my idea!

I'll pipe the output through command-line php, it's only for the occasional
bit of code.

thanks
John


RE: [ap2/mp2] post-processing handler output with another module (php)
John ORourke 15:44 on 13 Mar 2005

Generated at 08:54 on 14 Mar 2005 by mariachi v0.52