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
 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC