Re: Re: Question from a new module developer

From: Date: Sat, 17 Jul 2004 17:30:14 +0000
Subject: Re: Re: Question from a new module developer
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11315@lists.php.net to get a copy of this message
Well, on the surface it looks good, but the apache2filter and apache2handler sections say it returns a structure that has the request_rec as a member. I'll try it but it looks flaky... Dave On Sat, 2004-07-17 at 09:35, Justin Hannus wrote: > David Carter wrote: > > Hi, > > > > I'm developing a standalone module that needs to hook into another > > Apache module. I need a pointer to a request record (request_rec) to > > make the apache call, but I can't seem to find how to access one from a > > module. (or alternatively, a way to get a current request from within an > > Apache module). > > > > Help! > > > > TIA, > > Dave > > You might be looking for: > > ((request_rec *)SG(server_context)) > > Have a look at sapi/apache/php_apache.c for some examples.

« previous php.internals (#11315) next »