XMPHP不';我不在当地工作

XMPHP不';我不在当地工作,php,xmpp,xmpphp,Php,Xmpp,Xmpphp,从以下地址下载的XMPPHP有问题: 我下载了列表中的最后一个(2009年7月) 实际上,我在本地(开发模式)运行Jabber。。我想测试发送聊天信息,所以我写了以下内容: $xmpp = new XMPPHP_XMPP('host.lan', 5280,'serverUser','serverPass','resource', 'xmpphp'); $xmpp->connect(30, true, true); $xmpp->message('user@host.lan', 'H

从以下地址下载的XMPPHP有问题:

我下载了列表中的最后一个(2009年7月)

实际上,我在本地(开发模式)运行Jabber。。我想测试发送聊天信息,所以我写了以下内容:

$xmpp = new XMPPHP_XMPP('host.lan', 5280,'serverUser','serverPass','resource', 'xmpphp');
$xmpp->connect(30, true, true);
$xmpp->message('user@host.lan', 'Hello there , this is a test from the mobile version');
$xmpp->disconnect();
没有错误消息,没有警告,一切都表明消息已发送。但我不知道这在当地是否有效

忘了说,我使用的是PHP5.4,如果我下载的XMPP版本不适用于PHP5.4,下载链接将不胜感激

提前感谢

尝试启用调试:

$conn=new XMPPHP\u XMPP(
“主机”,端口,
“用户名”,
“pws”,
“资源”,
“域”,
$printlog=True,

$loglevel=XMPPHP\u Log::LEVEL\u INFO)

您必须再指定一点。有什么问题?有错误信息吗?日志?我试过一次,它成功了。没有错误消息,没有警告,所有的信息都表明消息已发送。但我想知道它是否在本地不起作用实际上它必须在本地起作用。。因为我已经有了另一个Javascript聊天版本。。。这在标准版本中运行良好(因为现在我正在避免移动使用js)