XMPHP doesn't work on local
- by SmootQ
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