[nycphp-talk] connecting to oracle w/ php
danielc at analysisandsolutions.com
Wed Jun 23 14:18:13 EDT 2004
On Wed, Jun 23, 2004 at 01:51:58PM -0400, David Vogel wrote:
> $db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
> (HOST = 18.104.22.168)(PORT=1521))
> (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.
Not that it'll solve your problem.
Have you checked groups.google.com?
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.
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
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk