Re: [PHP-DB] oci_connect still not working...I added a debug statement

[email protected] (Chris)
Newsgroups php.db
Message-ID <[email protected]>
> oci_internal_debug(1); // turn on tracing
> // Create a database connection

> // $conn = oci_connect("hr", "hr", "//dwlin165.us.oracle.com/lmkiiiGDNSID");

That definitely won't work..

> // $conn = oci_connect('hr', 'hr',$db);

try
oci_connect('hr', 'hr', '//localhost/xe');

I assume you unlocked the 'hr' account?

See page 35 of 
http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf

-- 
Postgresql & php tutorials
http://www.designmagick.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.