PHP 读取 access,windows+wmap测试可以。nginx不行。
$conn = new com("ADODB.Connection"); $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("SpiderResult.mdb"); $conn->Open($connstr); $rs = new com("ADODB.RecordSet"); $rs->Open("select * from Content",$conn,1,1); while(! $rs->eof) { $f = $rs->Fields(1); echo $f->value; echo " ". $rs->Fields(2)->value; echo "<br/>"; $rs->MoveNext(); }