On Thu, Mar 17, 2016 at 8:47 PM, Eric Covener wrote:
> On Thu, Mar 17, 2016 at 3:38 PM, wrote:
>> Hi,
>>
>> I have an Apache modul where I set an environment variable:
>>
>> apr_env_set("FOO", "BAR", ...);
>>
>> This variable is accesible by PHP:
>>
>> > print(getenv("FOO")); // --> BAR
>> ?>
Hi,
I have an Apache modul where I set an environment variable:
apr_env_set("FOO", "BAR", ...);
This variable is accesible by PHP:
BAR
?>
but not by a simple CGI program written in C:
#include
#include
int main(int argc, char* argv[]) {
printf("Content-Type: text/html;charset=utf-8\n\