|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #964 I can't reopen a connection again in the same page
Submitted: 1998-12-02 08:45 UTC Modified: 1999-02-16 04:45 UTC
From: alphalogic at alphalogic dot it Assigned:
Status: Closed Package: ODBC related
PHP Version: 3.0.5 OS: Windows 95/NT
Private report: No CVE-ID: None
 [1998-12-02 08:45 UTC] alphalogic at alphalogic dot it
I can't reopen a connection again in the same page, even if the other connection was opened in anoter file and included with  the statement "require".
In the previous version () I could open a connection to an ODBC driver and close it several times in the same

$conn = odbc_connect("","","");

$conn = odbc_connect("","","");
 // some intruction here will produce error like "

Warning: Bad ODBC connection number (1) in C:\InetPub\wwwroot\NotaSpese\conferimenti\index.php on line 224"



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-16 04:45 UTC] kara
Works fine for me in latest cvs.

btw, opening the same connection multiple times like that generates poor performance.  Connections are
very slow.

ooops, I was using pconnect.  Looking into it.

Ok, fix in cvs tree now.
Fixed in 3.0.6
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 30 21:01:23 2020 UTC