ID: 40796 Updated by: [EMAIL PROTECTED] Reported By: callahal at vaniercollege dot qc dot ca -Status: Open +Status: Bogus Bug Type: ODBC related Operating System: Windows 2003 svr std PHP Version: 5.2.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Use odbc_errormsg() to get the error message. Previous Comments: ------------------------------------------------------------------------ [2007-03-13 18:07:42] callahal at vaniercollege dot qc dot ca Description: ------------ Setup is Windows 2003 Server STD, IIS6, PHP 5.2.1 using php-cgi.exe I cannoct connect to my system dsn datasource which, as shown, is the northwind sample database on Ms_SQL Server 2000. If I use php5isapi.dll, everything works fine. However I prefer to use the php-cgi.exe. All of php.exe, php-cgi.exe and php5isapi.dll work fine with ODBC connects with PHP version 5.2.0. Reproduce code: --------------- if($odbc_db = odbc_connect('Northwind', 'sample', 'sample')){ echo "Connected AOK". eol ; }else{ die("Could not connect to ODBC data source Northwind"); } Expected result: ---------------- I should connect ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40796&edit=1
