NYCPHP Meetup

NYPHP.org

[nycphp-talk] connecting to oracle w/ php

David Vogel d at tdavidvogel.com
Wed Jun 23 14:19:16 EDT 2004


Thanks again for your help.
Dave

Daniel Convissor wrote:

>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
>
>  
>




More information about the talk mailing list