关于ODBC
$str = "DRIVER={Microsoft Visual FoxPro Driver}; SourceType=dbf; SourceDB=d:\vfpdata";
$conn = odbc_connect($str,"","") or die ("cannot connect to data source");
//到上边还通过
$rs = odbc_do($conn,"SELECT * from table1") or die ("somethings wrongs1");
//到这里就SOMETHINGS WRONGS1;
$rs = odbc_do($conn,"SELECT * from table1.dbf") or die ("somethings wrongs1");
//就算这样都不通过