|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-19 15:10 UTC] thomas dot hoppe at daimlerchrysler-bank dot com
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 19:00:02 2025 UTC |
Bah! Bug in bug report: 5.) echo out connection one $con1 -> you get Resource id # 2 _______^