[PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI
| From: | Paul Querna | Date: | Mon, 26 Apr 2004 02:13:56 +0000 |
| Subject: | [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9559@lists.php.net to get a copy of this message | ||
I added two new functions for handling output filters in the
Apache2Handler SAPI:
bool apache_add_output_filter(string filter_name) - Attempts to add the
named filter to the Filter Chain.
array apache_get_output_filters() - Returns an array of all Active
Output filters for this request
The ability to add an output filter is very helpful in the apache
2model. For example with this I was able to add an XSLT output filter
that I use in other areas to render XML generated from PHP to HTML.
The attached patches are for both PHP4 CVS and PHP5 CVS. They are also
online at: http://force-elite.com/~chip/patches/php-src/apache2-filters/
I posted this patches last Monday, but received 0 replies. Are the
patches acceptable, is there anything to change, or are there any
comments?
Thanks,
-Paul Querna
Attachment: [text/x-patch] php4-CVS-apache2-filters.patch
Attachment: [text/x-patch] php5-HEAD-apache2-filters.patch
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [text/x-patch] php4-CVS-apache2-filters.patch
Attachment: [text/x-patch] php5-HEAD-apache2-filters.patch
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc