[nycphp-talk] connecting to oracle w/ php
Lambert, Patrick
Patrick.Lambert at noggin.com
Wed Jun 23 15:09:33 EDT 2004
Are you able to connect to the Oracle server via sqlplus from your Web
server?
p.
> Message: 10
> Date: Wed, 23 Jun 2004 13:51:58 -0400
> From: David Vogel <d at tdavidvogel.com>
> Subject: Re: [nycphp-talk] connecting to oracle w/ php
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <40D9C33E.5000800 at tdavidvogel.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> oh sorry, I thought you were wondering about the PEAR part.
>
> $db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
> (HOST = 132.198.217.254)(PORT=1521))
> (CONNECT_DATA=
> (SID = ORCL)
> ))";
>
> $c = OCILogon('USER', 'PSSWD', $db);
>
>
>
> Daniel Convissor wrote:
>
> >On Wed, Jun 23, 2004 at 12:40:22PM -0400, David Vogel wrote:
> >
> >
> >>$dsn = 'oci8://user:passwd at tcp+132.198.217.254:1521/ORACLEGOLD';
> >>
> >>
> >
> >You mentioned using your own PHP scripts that connect to Oracle. I want
> >to see that connection info.
> >
> >--Dan
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040623/7922afb4/attachment.html>
More information about the talk
mailing list