On Tue, 2004-04-27 at 08:48, Andi Gutmans wrote: > So what does the apache_add_output_filter("XSLT") do? It adds a filter to > the current request which runs after PHP? > Correct. First it tries to find an output filter registered as "XSLT". If there is not a filter that has registered the name "XSLT", it returns false. If there is a filter with that name, It adds it onto the Apache 2 Output filter chain and returns true.
This is also how things like gzip compression happen with apache 2. For example, adding apache_add_output_filter("DEFLATE") would force mod_deflate to compress the output from PHP. (make sure this is done after adding XSLT, Ordering is important! The XSLT filter does not understand compressed content.) http://httpd.apache.org/docs-2.0/filter.html Provides some more information on filters in Apache 2. - Paul Querna
signature.asc
Description: This is a digitally signed message part