#12338 [Opn->Bgs]: Cannot open two connection simultaneously

From: Date: Wed, 14 Aug 2002 03:51:49 +0000
Subject: #12338 [Opn->Bgs]: Cannot open two connection simultaneously
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16723@lists.php.net to get a copy of this message
ID: 12338 Updated by: iliaa@php.net Reported By: dragosoft@inwind.it -Status: Open +Status: Bogus Bug Type: InterBase related Operating System: Windows ME & Windows 2000 PHP Version: 4.0.6 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-07-24 10:11:17] dragosoft@inwind.it index.HTML {provaSX.php} {provaDX.php} //provaDX.PHP <?php $NomeDB='MyDB_Path/MyDB_Name.gdb'; $User='MyUserName'; $Password='MyPassword'; $ConnessioneDB=ibase_connect($NomeDB, $User, $Password);} if (IsSet($ConnessioneDB)) { $Query='SELECT NomeArt, CostoArt FROM ARTICOLI'; $RisultatoQuery=ibase_query($ConnessioneDB, $Query); if (IsSet($RisultatoQuery)) { echo"<TABLE>"; while ($Riga=ibase_fetch_row($RisultatoQuery)) { echo "<TR>"; echo "<TD> $Riga[0] </TD><TD> $Riga[1] </TD>"; echo "</TR>"; } echo "</TABLE>"; } else { echo "La query è vuota!"; } } else echo "Connessione a $NomeDB fallita"; ?> //provaSX.PHP <?php $NomeDB='MyDB_Path/MyDB_Name.gdb'; $User='MyUserName'; $Password='MyPassword'; $ConnessioneDB=ibase_connect($NomeDB, $User, $Password);} if (IsSet($ConnessioneDB)) { $Query='SELECT NomeArt, CostoArt FROM ARTICOLI'; $RisultatoQuery=ibase_query($ConnessioneDB, $Query); if (IsSet($RisultatoQuery)) { echo"<TABLE>"; while ($Riga=ibase_fetch_row($RisultatoQuery)) { echo "<TR>"; echo "<TD> $Riga[0] </TD><TD> $Riga[1] </TD>"; echo "</TR>"; } echo "</TABLE>"; } else { echo "La query è vuota!"; } } else echo "Connessione a $NomeDB fallita"; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12338&edit=1

« previous php.bugs (#16723) next »