Re: OCI Win libs
| From: | stephan dot schoell at ch dot abb dot com | Date: | Tue, 08 Aug 2000 12:03:19 +0000 |
| Subject: | Re: OCI Win libs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10641@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 ?
>>> Can you explain me how you get the module mode under win32? Are you sure you
can run php as module somehow? Have you compiled apache and php aso yourself
under win32? If so, then I'm out of propositions :-(
I'm sorry I can't test the getenv() and $HTTP_ENV_VARS[] stuff right here on my
office PC. But you can pass variables using the QUERY_STRING. Have a look at the
archieves therefore.
BTW, last week I set up a Linux box for my web developping activities... Guess
why!? ;-)
--Steff
>
>
> -Steff
> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net