Re: OCI Win libs
| From: | Gérald Lacombe | Date: | Tue, 08 Aug 2000 11:46:22 +0000 |
| Subject: | Re: OCI Win libs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10639@lists.php.net to get a copy of this message | ||
stephan.schoell@ch.abb.com wrote:
> Don't bother about the value of the $PHP_SELF string
> (.....php/php.exe/apache/htdocs/myscript.php). You can use it as if php were a
> module (/myscript.php). It just looks a little ugglier but has no impact on the
> use of $PHP_SELF. E.g. you can put $PHP_SELF in the action-attribute of a html
> form (
>
> <form
> action="<?php echo $PHP_SELF ?>"
> method="post"
> name="php_self_test"
> >
> </form>
>
> ). It works. It's ok.
Alright, but in cgi mode i have another problem. I can't get, via getenv() or $HTTP_ENV_VARS[],
the
environment variables i put via System/Environment from windows. But i can get them in module
mode... Why ?
>
>
> -Steff
>
> |------------->
> |(Embedded |
> |image moved |
> |to file: |
> |pic30435.pcx)|
> | |
> |------------->
> >------------------------------------------------------------------------|
> |Gérald Lacombe <g.lacombe@open-finance-intl.com> |
> |08.08.2000 13:22 |
> >------------------------------------------------------------------------|
>
> To: Stephan Schoell/CHHOS/ABB@ABB_CH01
> cc:
> Subject: Re: [PHP] OCI Win libs
>
> Security Level:? Internal
>
> ------------------------------------------------------------------------
>
> stephan.schoell@ch.abb.com wrote:
>
> > I download the libraries from
> >
> > http://www.mm4.de/andreas.otto/php_related/mod_php4_win32/, i can
> > use the
> > php_oci8.dll when php is load as cgi in apache, but not when php is a module
> of
> > apache. Do you know why ? Do you use it as module ?
>
> >
> > When i use php as cgi, $PHP_SELF returns /php4/php.exe/myscript.php instead of
> > /myscript.php. Do you know why ?
> >
> > >>>'cause php runs only as cgi under win32. That's the fact.
>
> But how can i have $PHP_SELF good ?
>
> >
> >
> > -Steff
>
> ------------------------------------------------------------------------
> Name: pic30435.pcx
> pic30435.pcx Type: Image PCX (Wang)
> (application/x-unknown-content-type-PCXImage.Document)
> Encoding: base64