ID: 22162 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: COM related Operating System: win98/pws/ie5 PHP Version: 4.2.3 New Comment:
using latest snapshot made no difference still get following (error message dialog box) Php This program has performed an illegal operation and will be shut down If the problem persists, contact the program vendor (click close - browser then returns following message) CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Previous Comments: ------------------------------------------------------------------------ [2003-02-11 09:57:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-11 02:19:51] [EMAIL PROTECTED] creating a disconnected recordset with access_db/ADO/COM does not work /////////////////////////////////////////////////// # to disconnect a recordset it must be created explicitly $DB_RS = new COM("ADODB.Connection") or die("Cannot start ADO"); $DB_RS->Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath($DB_Path)); $rstemp= new COM("ADODB.Recordset") or die("Cannot create Recordset");; $rstemp->cursorlocation=3; $rstemp->ActiveConnection = $DB_RS; $rstemp->Open ($SQL,$DB_RS,2,1,0) ; # this line below disconnects the recordset $rstemp->ActiveConnection=null; /////////////////////////////////////////////////// error from this line $rstemp->ActiveConnection = $DB_RS; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22162&edit=1