PHP 4.0 Bug #5814 Updated: ODBC connection to Oracle fails

From: Date: Fri, 28 Jul 2000 14:09:21 +0000
Subject: PHP 4.0 Bug #5814 Updated: ODBC connection to Oracle fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-26717@lists.php.net to get a copy of this message
ID: 5814 User Update by: fsegtrop@estiem.org Old-Status: Feedback Status: Open Bug Type: ODBC related Description: ODBC connection to Oracle fails This is the c function that works, and it shows no big difference to the odbc_sqlconnect function used by php4: void myodbcconnect() { int rc; SQLHANDLE henv,hdbc; SQLAllocEnv(&henv); SQLAllocConnect(henv, &hdbc); rc = SQLConnect(hdbc,(unsigned char*)dsn,strlen(dsn),(unsigned char*)uid,strlen(uid),(unsigned char*)pwd,strlen(pwd)); if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { MessageBox(hWnd,"","Fehler",IDOK); SQLFreeConnect(hdbc); } else MessageBox(hWnd,"OK","",IDOK); } Full Bug description available at: http://bugs.php.net/?id=5814

« previous php.dev (#26717) next »