日期:2014-05-16 浏览次数:20450 次
<?php
define ("vfp_oledb_CString", "Provider=VFPOLEDB.1;Data Source=d:/newdf; Collating Sequence=MACHINE");
$conn = @new com("ADODB.Connection") or die ("ADO连接失败!");
$conn->ConnectionString= vfp_oledb_CString;
$conn->Open();
$conn->CursorLocation = 3;
?>
Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> ADODB.Connection<br/><b>Description:</b> 对象没有提供' in D:\chinaz.com\WebSite\testado.php:7 Stack trace: #0 D:\chinaz.com\WebSite\testado.php(7): com->Open() #1 {main} thrown in D:\chinaz.com\WebSite\testado.php on line 7