改了之後更恐怖这么多错误: Warning: oci8_open_server: ORA-12560: TNS: 协议适配器错误 in C:\Inetpub\wwwroot\test\6.php3 on line 2 :$conn = OCILogon($edit, $edit,$oy1); Warning: OCIParse: invalid connection 0 in C:\Inetpub\wwwroot\test\6.php3 on line 3 :$stmt = OCIParse($conn,"SELECT picture FROM vs_pgm_tab WHERE archiveno='B01030326372'"); Warning: OCIExecute: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 4 :OCIExecute($stmt); Warning: OCIFetchInto: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 6 :if (OCIFetchInto($stmt, $result, OCI_ASSOC+OCI_RETURN_LOBS)) Warning: OCIFreeStatement: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 10 OCIFreeStatement($stmt); 帮忙看看阿 今天就要叫了
extension_dir = c:/php/extensions
extension=php_oci8.dll
extension=php_oci8.dll
我去看看
Warning: oci8_open_server: ORA-12560: TNS: 协议适配器错误 in C:\Inetpub\wwwroot\test\6.php3 on line 2
:$conn = OCILogon($edit, $edit,$oy1);
Warning: OCIParse: invalid connection 0 in C:\Inetpub\wwwroot\test\6.php3 on line 3
:$stmt = OCIParse($conn,"SELECT picture FROM vs_pgm_tab WHERE
archiveno='B01030326372'");
Warning: OCIExecute: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 4
:OCIExecute($stmt);
Warning: OCIFetchInto: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 6
:if (OCIFetchInto($stmt, $result, OCI_ASSOC+OCI_RETURN_LOBS))
Warning: OCIFreeStatement: invalid statement 0 in C:\Inetpub\wwwroot\test\6.php3 on line 10
OCIFreeStatement($stmt);
帮忙看看阿
今天就要叫了