Hi all,

If I want to intercept the output of the php pages in modperl, how
should I do?

For example, I have a apache module that can add a footer to each page,
consider the following php script:

<html><body>
<?php echo "Hello, World!"; ?>
</body></html>

which will produce the following content to the browser:

<html><body>
Hello, World!
</body></html>

I would like to have the apache module to add a footer to the above
result, how do I do to intercept the output of it?

Of course I can set up a content handler to handle all of the *.php
files, however, this is not what I want, I only get the path to the
requested filename, which still needs to be handled by php module.

Any suggestion might be helpful.

Thanks!

Regards,
Ray.

Reply via email to