Home >Backend Development >PHP Tutorial >PHP 如何通过 adodb 访问VFP表 能给个简单的范例吗

PHP 如何通过 adodb 访问VFP表 能给个简单的范例吗

WBOY
WBOYOriginal
2016-06-23 14:03:59973browse

想把一些VFP程序下的DBF 用网页的方式查询.服务器是 WAMP 请教

PHP 如何通过 adodb 访问VFP表  能给个简单的范例吗?

最好是访问自由表的.   


回复讨论(解决方案)

连接串 Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=dbf的绝对路径;Exclusive=No

$conn = new com("ADODB.Connection");
$conn->open(连接串);

Statement:
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