Try using PHP as CGI instead of ISAPI...that if you're not already using
ISAPI
"Jorge B. Ribarr" <[EMAIL PROTECTED]> wrote in message
003101c10f3b$1ecca620$0101a8c0@rose">news:003101c10f3b$1ecca620$0101a8c0@rose...
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]