Yeah... I tried XMPPHP it epic failed because it wouldn't auth. So, I'm completely clueless on what to do. I have a bunch of registered users and I need to be able to connect from javascript after logging in. So, any tips? Anything that works, I will try. Pretty desperate here.
I'm not sure but : strophe.js
I'm not sure but : strophe.js or jsjac.js ?
this is how i did it
first, convert the stanza containing the sid into an array
$array = new SimpleXmlElement($stanza, LIBXML_NOCDATA);
then the sid will be a key that you can pull from
$sid = $array['sid'];
hope this helps
I am having the same problem.
I am having the same problem. I am using xmpppy lib on server side. wondering which object would contain this stanza ?