Access Violation on WinNT4

From: Date: Wed, 18 Jul 2001 03:42:20 +0000
Subject: Access Violation on WinNT4
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8367@lists.php.net to get a copy of this message
In the version 3.0.16 of php this dont ocours Thanks Jorge Ribarr from Brazil ----- Original Message ----- From: Jorge B. Ribarr <ribarr@terra.com.br> To: <php-windows@lists.php.net> Sent: Wednesday, July 18, 2001 12:37 AM Subject: [PHP-WIN] Access Violation on WinNT4 Hi, When a user stop a process, with the stop button or click in another link. Php popup a mensage "Access Violation". I use php4.0.5, apache 1.3.9, ms sql server 7, odbc , winnt4. All most this occours in a query execution. I use a class phpodb.php (from www.zend.com - code galery)to access the odbc conection. I would like to now, if this is the cause of the access violation. see this sample: $dbBook = new PHPDBObject; $dbBook->opendb(); // conect with database $sSQL = "select AUTHOR,TITLE from BOOKS order by TITLE"; $dbBook->openrs($sSQL); // execute query $dbBook->movetofirst(); while (!$dbBook->eof()){ $sAuthor = $dbBook->("AUTHOR"); // get colum value from table $sTitle = $dbBook->("TITLE"); $dbBook->movetonext(); print "$sTitle - $sAuthor <br>\n"; } $dbBook->free(); // clear result set $dbBook->close(); // close dbconection Please, i dont understand that is happen here. Excuse-me my bad english. Jorge Ribarr from Brazil

« previous php.windows (#8367) next »