|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27770 reading data from Access thrugh COM function
Submitted: 2004-03-30 04:12 UTC Modified: 2004-04-05 08:55 UTC
From: kaija_jan at hotmail dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.0.0RC1 OS: windows 2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kaija_jan at hotmail dot com
New email:
PHP Version: OS:


 [2004-03-30 04:12 UTC] kaija_jan at hotmail dot com
i try to use COM function to read data from Access database.
but if the fields type is ole object. the data will different with the asp code.
here is my php code. the type of field "test" is oleobject.
there is no error during run time.

Reproduce code:
	$oConn = new COM("ADODB.Connection");
	$oConn->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb");
	$oRs = $oConn->Execute("select * from test");
	$a = "c:\abc";
		$Data = $oRs->Fields->["test"]->value;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-30 05:21 UTC]
Please indicate how the data is different.
Also, are you sure that your example script is correct?
           this looks bogus

$oRs->Release() won't work in PHP 5

Please read this for more information:

 [2004-04-05 08:55 UTC]
See Wez's comment..

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Feb 03 11:03:46 2023 UTC