Hi,
I would like to connect to an Access database with ADO from PHP. It is successful, and working. BUT at the end i can't release the Connection and Recordset objects.
$conn = new COM("ADODB.Connection") or die("Cannot start ADO");
$rs = new COM("ADODB.Recordset");
$rs->Release();
$conn->Release();
$rs = null;
$conn = null;
I get this warning message when i try to release the recordset:
Warning: Invoke() failed: Member not found. in c:\webdev\html\ado.php on line 18
and the following at the releasing of the connection object:
Warning: Invoke() failed: Exception occurred. in c:\webdev\html\ado.php on line 19
It works but the apache.exe process allocate more and more memory and i don't know whether it gives this memory back or not.
Any help appreciated:
Ferenc