I forgot to include that the process that crashed was the Apache process, which of course means that PHP crashed.

John Singleton wrote:

Hi All,

I seem to be having a crashing problem with the PHP module for MaxDB. I am using apache 1.3.9 in Windows XP with MaxDB 7.5.00.19, PHP module version 7.5.00.19, and PHP 5.0.2. PHP is loaded as a dll. Here is the code snippet.


$link = maxdb_connect("localhost", "DBA", "DBA", "CH10");

if (!$link) {
  printf("Connect failed: %s\n", maxdb_connect_error());
  exit();
}



$stmt = maxdb_prepare($link, "SELECT USERNAME FROM USERS WHERE USERNAME=?");


maxdb_stmt_bind_param($stmt, "s", $USERNAME); $USERNAME = "DBA";

maxdb_stmt_bind_result($stmt, $R_USERNAME); /* this is the trouble line */


I have removed and commented out various lines in this code. When I leave in the last line, the crash occurs.



Any ideas?

JLS


-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to