See http://www.thickbook.com/extra/php_oracle.phtml for a simple tutorial.
Note that in my case, I've trouble using OCILogon with its third argument,
for example '@mydb'. I have to use the complete syntax you found in the
oracle file tnsnames.ora, something like
mydb.world =
  (DESCRIPTION =
    (ADDRESS_LIST =
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = <IP address>)
          (Port = <port 1>)
        )
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = <IP address>)
          (Port = <port 1>)
        )
    )
    (CONNECT_DATA = (SID = <oracle ID>)
    )
  )

Hope this helps.
et bon courage !
Philippe

"Titanesk" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> ok, that was already done, ive an Oracle server with database on a
computer
> and on another i ve apache + php +oci8 and the oracle client installed,
what
> to do now for this work ?
>
> "Philippe Saladin" <[EMAIL PROTECTED]> a écrit dans le message de
> news: [EMAIL PROTECTED]
> > > If you were using it in linux you would need at last the oracle client
> > > installed locally, I don't know in windows.
> >
> > Yes, the oracle 8 client has to be installed onto the server : it's the
> > middleware between Oracle and the client. See your oracle dba.
> > Regards,
> > Philippe
> >
> >
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to