From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.1.2 PHP Bug Type: OCI8 related Bug description: Screwed up handles while connection multiple DBs
I would like to report a problem and ask for help with php 4.0.6 and Oracle 8 Support. When you try to use more than one connection, the last connection created is the one that receives every statement. I found a workaround but I'm not quite sure if it really works everytime (not enough testing yet): You could do the following for each connections and somehow they are available after that: for ($i=1; $i <= 2; $i++) { $oci_connection_new = OCILogon ($oracle_user, $oracle_pass, $oracle_inst); } I reviewed $oci_connection_new and figured out thata it changes the recource id after the loop Thomas -- Edit bug report at http://bugs.php.net/?id=16704&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16704&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16704&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16704&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16704&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16704&r=support Expected behavior: http://bugs.php.net/fix.php?id=16704&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16704&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16704&r=submittedtwice