请问吧内大神一个php引入java的jar包问题,在php里读取java.inc文件的时候总是报错:
Notice: Undefined offset: 1 in C:\Apache24\htdocs\java\java.inc on line 109
Fatal error: unknown error: please see back end log for details in C:\Apache24\htdocs\java\java.inc on line 893
我查看了java.inc文件,报错的内容指向这个函数
function dieWithBrokenConnection($msg) {
unset($this->protocol->client->protocol);
trigger_error ($msg?$msg:"unknown error: please see back end log for details",E_USER_ERROR);
}
似乎是链接不到本地客户端,我的php里引入语句是这样写的:
<?php
define("JAVA_HOSTS", "127.0.0.1:8083");
require_once("java/java.inc");
java_set_file_encoding("GBK");
define ("ActiveXPersistenceType_PROPERTY_BAG",0);
define ("ActiveXPersistenceType_STORAGE",1);
define ("ActiveXPersistenceType_STREAM",2);
。。。。。。。。。。。。。。。
不知道前面两行写的对不对,请大神帮忙看看,不甚感激!!!
Notice: Undefined offset: 1 in C:\Apache24\htdocs\java\java.inc on line 109
Fatal error: unknown error: please see back end log for details in C:\Apache24\htdocs\java\java.inc on line 893
我查看了java.inc文件,报错的内容指向这个函数
function dieWithBrokenConnection($msg) {
unset($this->protocol->client->protocol);
trigger_error ($msg?$msg:"unknown error: please see back end log for details",E_USER_ERROR);
}
似乎是链接不到本地客户端,我的php里引入语句是这样写的:
<?php
define("JAVA_HOSTS", "127.0.0.1:8083");
require_once("java/java.inc");
java_set_file_encoding("GBK");
define ("ActiveXPersistenceType_PROPERTY_BAG",0);
define ("ActiveXPersistenceType_STORAGE",1);
define ("ActiveXPersistenceType_STREAM",2);
。。。。。。。。。。。。。。。
不知道前面两行写的对不对,请大神帮忙看看,不甚感激!!!