|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
19 + 27 = ?
Subscribe to this entry?

 [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: Sat Mar 25 13:03:40 2023 UTC