php3-list | 2000051
Date: 05/15/00
- Next message: systems: "[PHP3] odbc behaviour (was odbc_result getting same row)"
- Previous message: Damien Mc Kenna: "[PHP3] Informix newbie qn"
- Next in thread: Diego Smalinsky: "RE: [PHP3] PHP & Oracle"
- Maybe reply: Diego Smalinsky: "RE: [PHP3] PHP & Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Message d'origine-----
> De: MEGRET Arnaud
> Date: lundi 15 mai 2000 15:10
> À: 'Dieter Kneffel'
> Objet: RE: [PHP3] PHP & Oracle
>
> yes, you can use it if you have an Oracle Client installed on your
> machine.
> You cann use the ORACLE functions (beginning with ORA_) or the Oracle 8
> functions
> begining with OCI_.
> I have heard that the second solution is more efficient.
>
> Then you must declare 2 environment variables ORACLE_HOME and ORACLE_SID
>
> Be carefull :
> for instance if your tnsname.ora contains :
>
> ULTRA =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = ultra))
> )
> (CONNECT_DATA =
> (SID = bbd8)
> )
> )
>
> then you must declare ORACLE_SID=bbd8 (the name of the Oracle instance)
> and when you call the connect function then you must pass ULTRA : the
> entry in the tnsname.ora file
> Ex OCIPLogon("login","password","ULTRA");
>
> I hope it will be helpfull
>
> -----Message d'origine-----
> De: Dieter Kneffel [SMTP:data <email protected>]
> Date: lundi 15 mai 2000 14:44
> À: php3 <email protected>
> Objet: [PHP3] PHP & Oracle
>
> What is the best way to access Oracle8 using
> PHP with the database on a different server than the
> webserver? Do I have to use some odbc or can I
> connect to it no matter if local or remote just as with
> mysql ?
>
> - Dieter
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: systems: "[PHP3] odbc behaviour (was odbc_result getting same row)"
- Previous message: Damien Mc Kenna: "[PHP3] Informix newbie qn"
- Next in thread: Diego Smalinsky: "RE: [PHP3] PHP & Oracle"
- Maybe reply: Diego Smalinsky: "RE: [PHP3] PHP & Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

