摘要:
public function init($filePath){ $dbq = iconv('UTF-8',"GBK",BASEPATH.'../'.$filePath); $dsn = "odbc:Driver={Microsoft Excel Driver (*.xls)};Dbq=".$dbq.";ReadOnly=0;"; try { $this->pdo = new PDO($dsn, '', '',array(PDO::ATTR_ERRMODE => 阅读全文