$db = new COM("ADODB.Connection", NULL, 65001) or die ("ADO连接失败!"); $connstr = 'DRIVER={Microsoft Access Driver (*.mdb)};pwd=123;DBQ=' . realpath('数据库路径'); $db->Open($connstr);
$db = new COM("ADODB.Connection", NULL, 65001) or die ("ADO连接失败!"); $connstr = 'DRIVER={Microsoft Access Driver (*.mdb)};pwd=123;DBQ=' . realpath('数据库路径'); $db->Open($connstr);