ID: 17181 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: COM related Operating System: Windows 2000 Sp2 PHP Version: 4.2.0 New Comment:
I tested it with MSACCESS and it works, but I will try to test it with php4.2.1 and MDAC < 2.7 Previous Comments: ------------------------------------------------------------------------ [2002-05-14 03:52:01] [EMAIL PROTECTED] Can you test 4.2.1 with MSDAC < 2.7 ? ------------------------------------------------------------------------ [2002-05-14 03:08:53] [EMAIL PROTECTED] also on PHP4.1.2 this doesen't work anymore, it seems that the upgrade to MSDAC2.7 caused this crash ------------------------------------------------------------------------ [2002-05-14 02:41:15] [EMAIL PROTECTED] Sorry, but I have not time to debug this, but with PHP4.1.2 this worked, ------------------------------------------------------------------------ [2002-05-14 02:21:01] [EMAIL PROTECTED] Our resources regarding COM and win32 seem to be very low. Are you create a debug build yourself and start debugging it? ------------------------------------------------------------------------ [2002-05-13 10:02:11] [EMAIL PROTECTED] Hi, this script lets php crash: $conn = new COM( "ADODB.Connection" ); $conn->Provider = 'SQLOLEDB'; $conn->Open( "Server=wincubix;Uid=oebb;Pwd=oebb;Database=cubix" ); $conn->Execute('SET DATEFORMAT ymd'); $rs = new COM( "ADODB.Recordset" ); $rs->ActiveConnection = $conn; $rs->Open("SELECT DISTINCT * FROM news WHERE gueltig_von <= '2002-05-13'"); changing the script like this will prevent the AV //$rs->ActiveConnection = $conn; $rs->Open("SELECT DISTINCT * FROM news WHERE gueltig_von <= '2002-05-13'", $conn); I'm using the latest MSDAC (2.7) and the latest snapshot of php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17181&edit=1