Welcome! Log In Create A New Profile

Advanced

[PHP] How to access to a Visual FoxPro database (.DBC file)

Posted by Tomás Corrales Lemoine 
Tomás Corrales Lemoine
[PHP] How to access to a Visual FoxPro database (.DBC file)
April 05, 2017 05:00PM
Hi, friends.



I’m trying to access a Visual FoxPro database (.DBC file) with a 64 bits
version of PHP 5.6.25, using PhpStorm 8.0.2 in Windows 7 Ultimate x64 this
way:



$dbc = new COM("ADODB.Connection") or die ("Connection create fail");
$dbc->Open("Provider=VFPOLEDB.1;Data
Source=\\\\mynetworkpc\\vfpfolder\\vfpdb.dbc;Password=***;Collating
Sequence=MACHINE");



But it triggers a com exception saying that can’t find a specified provider,
What’s wrong here?



Thanks anyway, and please, answer to my e-mail account.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login