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/