php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5939 Use of an Oracle DB with ODBC functions
Submitted: 2000-08-03 10:57 UTC Modified: 2005-09-02 07:58 UTC
From: cedric_carbier at mail dot dotcom dot fr Assigned:
Status: Closed Package: ODBC related
PHP Version: 3 OS: Win NT 4.0
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cedric_carbier at mail dot dotcom dot fr
New email:
PHP Version: OS:

 

 [2000-08-03 10:57 UTC] cedric_carbier at mail dot dotcom dot fr
Hi everybody,

When I try to access an Oracle DB with the ODBC functions (a simple SELECT request...), I do get the result that I want but my Web browser keeps on looking for something.
Furthermore, the PHP.EXE process on my Web server keeps on running (that is, after 5 or 6 requests, the server gets out of memory and I must kill these processes myself...)

Here is a little piece of my program...

$connectionID = odbc_connect("PEGASE", "pub", "pub");
$resultID = odbc_exec($connectionID, "select * from edv.item_master where part_number like '" . 
			$partNr . "'");
$count=0;
while($temp = odbc_fetch_into($resultID,&$tempArray)){
    $count++;					
}				
			
$designation = $tempArray[16];	
$ref = $tempArray[34];	
				
odbc_close($connectionID);	


Cheers,

        Cedric


Patches

Pull Requests

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC