ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
[PHP-DEV] Re: Question from a new module developer
by Justin Hannus other posts by this author
Jul 17 2004 1:35PM messages near this date
[PHP-DEV] Question from a new module developer | Re: [PHP-DEV] Re: Question from a new module developer
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
Thread:
David Carter
Justin Hannus
David Carter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved