[PHP-DEV] [rfc] apache_hooks update (yet incomplete)

2002-08-26 Thread Lukas Schroeder
hi, here's another shot of the current apache_hooks code. there are some issues with startup and cleanup currently. and the patch messes a bit with php's startup procedure. still missing is access to array_header (think headers_in, headers_out, headers_err) and table slot in request_rec, as is

Re: [PHP-DEV] [RFC] apache_hooks update

2002-08-22 Thread Lukas Schroeder
On Thu, Aug 22, 2002 at 08:07:33AM -0700, Rasmus Lerdorf wrote: > Does it work? > hehe. yes it does. besides the fact, that a lot of functionality is still missing, the only issue currently is an incomplete cleanup: ./Zend/zend_execute.c(1704) : Freeing 0x0828FFCC (12 bytes), script=- ./sapi/

Re: [PHP-DEV] [RFC] apache_hooks update

2002-08-22 Thread Rasmus Lerdorf
Does it work? On Thu, 22 Aug 2002, Lukas Schroeder wrote: > hi, > > attached is a first request for comment for an update to the > apache_hooks code. > > > a php-handler for uri translation looks like this ($request is of type > ApacheRequest). > > > $request->uri('/s.html'); > return DECLI

[PHP-DEV] [RFC] apache_hooks update

2002-08-22 Thread Lukas Schroeder
hi, attached is a first request for comment for an update to the apache_hooks code. a php-handler for uri translation looks like this ($request is of type ApacheRequest). uri('/s.html'); return DECLINED; ?> a php-handler for uri-to-filename translation would look like this. filename('/tmp