Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57614 invoked by uid 1010); 26 Apr 2004 08:33:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57504 invoked from network); 26 Apr 2004 08:33:53 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 26 Apr 2004 08:33:53 -0000 Received: (qmail 4097 invoked from network); 26 Apr 2004 08:33:50 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 26 Apr 2004 08:33:50 -0000 Message-ID: <5.1.0.14.2.20040426113304.023f16f0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 26 Apr 2004 11:33:48 +0300 To: Paul Querna ,internals@lists.php.net In-Reply-To: <1082945636.31797.4.camel@powah.cc.force-elite.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] [PATCH] Repost - Adding Output Filters w/ Apache2 Handler SAPI From: andi@zend.com (Andi Gutmans) References: <1082945636.31797.4.camel@powah.cc.force-elite.com> Can you please give an example on how this can be used? At 08:13 PM 4/25/2004 -0600, Paul Querna wrote: >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 > >