|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6723 Not valid interbase link
Submitted: 2000-09-13 18:59 UTC Modified: 2000-11-27 09:48 UTC
From: gpf at simm dot ru Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.2 OS: Win2k
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: gpf at simm dot ru
New email:
PHP Version: OS:


 [2000-09-13 18:59 UTC] gpf at simm dot ru
$dbh=ibase_pconnect("ib:d:\sh.gdb", "SYSDBA","masterkey");
$stm="select * from rating";

Warning: 0 is not a valid InterBase link resource in d:\inetpub\wwwroot\sh\aa.php3 on line 5
PHP has encountered an Access Violation at 405425D5

this script is working normaly:
$dbh=ibase_pconnect("ib:d:\sh.gdb", "SYSDBA","masterkey");
$stm="select * from rating";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-22 21:22 UTC] gpf at simm dot ru
The documentation is wrong: the two parameters must be exchanged, so it reads:
$sth=ibase_query($stm, $dbh);

 [2000-10-27 23:43 UTC]
This is, I hope, fixed (can't test it because I don't have any Windows machine).You should fetch php4.0.4-dev for win32 from

Or if you would rather stay with a release version, php4.0.3 for win32 from
the same place and contact me ( directly for an updated version
of php_interbase.dll (thanks to Daniel Beulshausen for compiling it), there was
still one critical InterBase-related bug in 4.0.3.

Besides, the documentation is *right*. The two-argument version didn't work
because of a bug, and in your "corrected" example, $dbh is not used at all.
 [2000-11-27 09:48 UTC]
No feedback -> considred fixed -> closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 01:01:31 2024 UTC