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/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to