AW: [PHP] Oracle 8.1.6, Windows NT and PHP4.0.2
| From: | Sebastian Stadtlich | Date: | Wed, 11 Oct 2000 09:42:22 +0000 |
| Subject: | AW: [PHP] Oracle 8.1.6, Windows NT and PHP4.0.2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19551@lists.php.net to get a copy of this message | ||
i made the following global on my IIS ORACLE_SID=mytnsname
it is displayed when i use phpinfo().
OCILogon ('scott','tiger'); should do it, but i get an OCI error
'can't resolve tns-hostname'
if i try
OCILogon ('scott', 'tiger','mytnsname');
it works perfect
sebastian
> -----Ursprüngliche Nachricht-----
> Von: Jon [mailto:jzuazoa@nexo.es]
> Gesendet am: Mittwoch, 11. Oktober 2000 11:30
> An: php-general@lists.php.net
> Betreff: Re: [PHP] Oracle 8.1.6, Windows NT and PHP4.0.2
>
> Hi Sebastian, what do you men when you say that "the global
> tns name could
> not be set. so you have to specify it
> at every connect". Could you please explain the way you
> specify the tnsnames
> at every connect?.
>
> Thanks
>
>
>
>
> "Sebastian Stadtlich" <Stadtlich@mediaworx.com> escribió en el mensaje
> news:205B9864494BD41181D90000E8815AD40549B8@R2D2...
> you can find the DLLs at www.php4win.de.
> then look at te manual at www.php.net...
> there are plenty of examples how to connect and stuff...
> also you should check http://www.faqts.com/ for more
> information
> the only problem i had with oracle 8.1, nt4.0/sp6a and IIS 4.0
> was that the global tns name could not be set. so you have to
> specify it
> at every connect.
>
> sebastian
>
> > -----Ursprüngliche Nachricht-----
> > Von: ravi [mailto:ravi@indialive.net]
> > Gesendet am: Mittwoch, 11. Oktober 2000 07:53
> > An: php-db-digest-help@lists.php.net; ocmercado@yahoo.com;
> > php-db@lists.php.net; php-general@lists.php.net
> > Betreff: [PHP] Oracle 8.1.6, Windows NT and PHP4.0.2
> >
> > Hello to all of you,
> >
> > Can somebody tell me how do I connect to an Oracle Database
> > on Win NT 4.0 sp 3 through PHP 4.02?
> > The Oracle version I have is Oracle8i.
> > What are the .dll files that is necessary to support
> > php-Oracle database
> > connectivity and from where do I get that ?
> > What are the functions required to execute the connection
> > with Oracle ?
> >
> > Please do give me your valuable feedback !!!
> >
> > Regards
> > Ravi
> >
> >
> > --
> > 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
> >
>
>
>
>
> --------------------------------------------------------------
> --------------
> ----
>
>
> > --
> > 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
>
>
>
> --
> 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
>