From:             [EMAIL PROTECTED]
Operating system: W2K
PHP version:      4CVS-2002-10-25
PHP Bug Type:     ODBC related
Bug description:  SQLDriverConnect supported by win32

In ext/odbc/php_odbc.php dsn-less connections are only supported for
empress and unixodbc. Windows also supports this connection method.

Changing the line:
#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC)

to:
#if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC) || defined(WIN32)

enables dsn-less connections under windows.

-- 
Edit bug report at http://bugs.php.net/?id=20086&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20086&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20086&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20086&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20086&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20086&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20086&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20086&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20086&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20086&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20086&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20086&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20086&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20086&r=isapi

Reply via email to