Re: OCI Win libs
| From: | Gérald Lacombe | Date: | Tue, 08 Aug 2000 14:03:09 +0000 |
| Subject: | Re: OCI Win libs | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10660@lists.php.net to get a copy of this message | ||
Daniel Beulshausen wrote:
> > Already done like:
> > while(list($key,$val)=each($HTTP_ENV_VARS))
> > print("HTTP_ENV_VARS['$key']='$val'<BR>\n");
>
> didn't saw it.
>
> > But my environment variable isn't seen, whereas in module mode, i can
> see it
> > with the same boucle.
> > HTTP_ENV_VARS['COMSPEC']='%SystemRoot%\system32\cmd.exe'
> > ...
> > HTTP_ENV_VAR['MyEnv']='Here'
>
> cgi:
> print stripslashes($HTTP_ENV_VARS['COMSPEC']);
>
> module:
> print stripslashes($HTTP_ENV_VARS['ComSpec']);
>
> or what do you wanted to know?
I can't get $HTTP_ENV_VARS['MyEnv'], nor getenv("MyEnv"), nor
getenv("MYENV").
It works fine with PHP3 !
>
>
> greetings
> daniel
>
> /*--
> daniel beulshausen - db@phpopentracker.de
> using php on windows?
> http://www.mm4.de/andreas.otto/php_related/mod_php4_win32/