note 41135 added to function.odbc-connect
| From: | therebel at tiscali dot fr | Date: | Wed, 31 Mar 2004 12:06:52 +0000 |
| Subject: | note 41135 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67413@lists.php.net to get a copy of this message | ||
To connect to a MDB Access file without adding a system dsn to Windows :
$cfg_dsn = "DRIVER=Microsoft Access Driver (*.mdb);
DBQ=C:/Access.mdb;
UserCommitSync=Yes;
Threads=3;
SafeTransactions=0;
PageTimeout=5;
MaxScanRows=8;
MaxBufferSize=2048;
DriverId=281;
DefaultDir=C:/ProgramFiles/CommonFiles/ODBC/DataSources";
$cfg_dsn_login = "";
$cfg_dsn_mdp = "";
odbc_connect($cfg_dsn,$cfg_dsn_login,$cfg_dsn_mdp);
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41135
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41135&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41135&report=yes
Search -- http://master.php.net/manage/user-notes.php