pass output of php scripts through command line program or cgi
| From: | Paul William | Date: | Fri, 16 Jan 2004 23:44:18 +0000 |
| Subject: | pass output of php scripts through command line program or cgi | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174900@lists.php.net to get a copy of this message | ||
Hi,
I want to run the output of all the php scripts running on my apache
server through a command line or CGI program. I do not want to modify
any of the php scripts.Has anyone done this? Is this possible?
For example (this is a stupid example and I am not using it for this):
The output of "index.php" is:
<html>
...
</table>
</body>
</html>
then that output is run through "addfooter" (a command line script)
which results in:
<html>
...
</table>
<br/><b>The footer is inserted here.</b>
</body>
</html>
Then apache outputs the above html.
Any ideas?
Thanks
Paul
--
.''`. Paul William
: :' : Debian admin and user
. '`
`- Debian - when you have better things to do than fixing a system