[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-19 Thread Jason Gan
Hi, I also suspect that the changes (in the version branching) are causing the strange errors. The last version of PHP 4.0.6-dev works fine with adodb and the MSXML Parser 3.0 with both isapi and cgi. -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Saturday, 19 Ma

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-18 Thread Jason Gan
Hi, The current version (18-May) could not load in Windows at all, so I cannot test that version. Testing the last version (17-May), I found that the error is generated when it executes this line of code: for ($rowcount = 0; !$rs->EOF; ++$rowcount, $rs->MoveNext()) { } Specifically, it is the c

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-18 Thread Jason Gan
I was testing under the isapi, and I noticed that what worked before broke when the version number changed from 4.0.6-dev to 4.0.7-dev. Give me a chance to try a newer version, and I'll let you know how it goes. Noticed that the error changed from PHP has encountered an Access Violation at 2474

[PHP-DEV] RE: Bug #10580 Updated: Access Violation using ADODB

2001-05-08 Thread Jason Gan
Here is a code snippet for testing ADODB: Open(OLEDB_CONNECTION_STRING); $command = "SELECT * from employees"; $rs = $conn->Execute($command); // Recordset $num_columns = $rs->Fields->Count(); $this->set_arr($num_columns); for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($