[nycphp-talk] connecting to oracle w/ php
Daniel Convissor
danielc at analysisandsolutions.com
Wed Jun 23 14:18:13 EDT 2004
Hi David:
On Wed, Jun 23, 2004 at 01:51:58PM -0400, David Vogel wrote:
>
> $db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
> (HOST = 132.198.217.254)(PORT=1521))
> (CONNECT_DATA=
> (SID = ORCL)
> ))";
> $c = OCILogon('USER', 'PSSWD', $db);
To make that fly in PEAR DB, connect using an array for the DSN and put
that $db stuff in the 'hostspec' element.
http://pear.php.net/manual/en/package.database.db.intro-connect.php
Not that it'll solve your problem.
Have you checked groups.google.com?
http://groups.google.com/groups?group=comp.databases.oracle
Enter the search terms "connect delay," select the "Search only in
comp.databases.oracle.*" radio button and do the search. I guarantee
there will be lots of results and you're likely to find your answer.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list