XMPHP doesn't work on local

Posted by SmootQ on Stack Overflow See other posts from Stack Overflow or by SmootQ
Published on 2012-11-13T10:57:34Z Indexed on 2012/11/13 10:59 UTC
Read the original article Hit count: 193

Filed under:
|
|

I have a problem with XMPPHP downloaded from this address :

http://code.google.com/p/xmpphp/downloads/list

I downloaded the last one in the list (Jul 2009)

Actually, I run Jabber on local (in development) .. and I want to test sending chat messages , so I wrote the following :

$xmpp = new XMPPHP_XMPP('host.lan', 5280,'serverUser','serverPass','resource', 'xmpphp');
$xmpp->connect(30, true, true);
$xmpp->message('[email protected]', 'Hello there , this is a test from the mobile version');
$xmpp->disconnect();

And forgot to say, I'm using PHP 5.4 , if the XMPP Version I downloaded doesn't work for php 5.4 , download links will be appreciated .

thank you in advance

thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about xmpp