Re: best way to change SID w/OCILogon()?
| From: | Paul Fernandez | Date: | Fri, 20 Oct 2000 18:34:28 +0000 |
| Subject: | Re: best way to change SID w/OCILogon()? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3830@lists.php.net to get a copy of this message | ||
Another way to put this is
I find that if I do
putenv("ORACLE_SID=servername");
and then
ocilogon ($username,$password);
it sometimes works.
Is there a quirk in using
ocilogon ($username,$password,$database)
without setting ORACLE_SID?
Paul Fernandez wrote:
> Hello,
>
> Not sure if this is resolved in 4.03 -- but in 4.0 I have set the
> environment variable, and even passed in the SID like this
>
> ocilogon($username,$password,"liveserver")
>
> and the user still goes to the test server.
>
> from phpinfo, we set it up with"
> './configure' '--enable-sigchild' '--with-oci8'
> '--enable-track-vars'
> '--enable-trans-sid' '--with-apache=../apache/apache_1.3.12'
>
> Please advise, and thanks.
>
> --
> Paul Fernandez
> Webmaster
> Structural GenomiX, Inc.
> www.stromix.com
> 858.558.4850
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Paul Fernandez
Webmaster
Structural GenomiX, Inc.
www.stromix.com
858.558.4850