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.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php