Home > Backend Development > PHP Tutorial > PHP打开.dbf门类文件

PHP打开.dbf门类文件

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:47:29
Original
1088 people have browsed it

PHP打开.dbf类型文件_
求大神指导..

我用dbase指令可以打开一部分.dbf的文件..但是 有的确打不开..有哪些原因可能造成这种问题呢

还有如果用adodb..到底该如何用..有贴字说要安装odbc的驱动,但是到底安装在那里..能否说详细些..

include_once("adodb.inc.php");
$conn=ADONewConnection('vfp');
$conn->debug = true;
$link=$conn->PConnect("Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;SourceDB=c:\BatMan\Daten\batterie.dbf"); 

if(!$link)
  {echo "no verbindung";exit;}
?>


运行结果>Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Der Treiber unterstützt diese Funktion nicht, SQL state IM001 in SQLConnect in C:\AppServ\www\adodb5\drivers\adodb-odbc.inc.php on line 84
...

PHP VFP?DBF
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template