httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Carleton" <scarle...@miltonstreet.com>
Subject Re: Passing parameters to PHP
Date Tue, 25 Sep 2007 11:07:09 GMT
On 8/15/07, Brian J. France <list@firehawksystems.com> wrote:
>
> On Aug 15, 2007, at 3:46 PM, Sam Carleton wrote:
> > Is there any way for my apache module to pass parameters in such a way
> > that my php code can get at them?
>
> Stick the data in r->subprocess_env and PHP can access them via
> $_SERVER (or apache_getenv if $_SERVER is disabled).

I finally got around to using this useful piece of info last night and
it worked like a charm!  I do have a question though, once it is set,
does it stay for the life of Apache or just for that request?

Sam

Mime
View raw message