odbc - Connect to Foxpro with PHP using OLE DB driver -
i'm trying connect foxpro database using ole db driver
i downloaded driver http://www.microsoft.com/en-us/download/details.aspx?id=14839 , installed create php script
$conn = new com("adodb.connection") or die("cannot start ado"); $conn->open("provider=vfpoledb.1;data source=c:\opera3\comp_i.dbc;collating sequence=machine");
this gives me following error
fatal error: uncaught exception 'com_exception' message '<b>source:</b> adodb.connection<br/><b>description:</b> provider cannot found. may not installed.' in c:\inetpub\wwwroot\test1.php:4 stack trace: #0 c:\inetpub\wwwroot\test1.php(4): com->open('provider=vfpole...') #1 {main} thrown in c:\inetpub\wwwroot\test1.php on line 4
any in getting working appreciated.
as requested
uninstalled , reinstalled command line administrator users , works –
Comments
Post a Comment