#20873 [NEW]: DSN with space will not work

From: Date: Sat, 07 Dec 2002 07:58:36 +0000
Subject: #20873 [NEW]: DSN with space will not work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26965@lists.php.net to get a copy of this message
From: mykbaker@msn.com Operating system: Win XP Pro PHP version: 4.2.3 PHP Bug Type: ODBC related Bug description: DSN with space will not work Using odbc_connect with a DSN with a space causes error: Code: $cnx = odbc_connect("BSU Directory","","") or die(odbc_error()); Error: Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLConnect in c:\inetpub\wwwroot\mbaker\Project\processInst.php on line 20 S1000 The same DSN works fine with a ColdFusion template and other DSNs work fine with PHP. -- Edit bug report at http://bugs.php.net/?id=20873&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20873&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20873&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20873&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20873&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20873&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20873&r=support Expected behavior: http://bugs.php.net/fix.php?id=20873&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20873&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20873&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20873&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20873&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20873&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20873&r=isapi

« previous php.bugs (#26965) next »