KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I’m trying to get my online status using XMPPHP and I can’t seem to get anything that has my status from the $conn . Here is a snippet of my code: require_once('XMPPHP/XMPP.php'); $conn = new XMPPHP_XMPP('talk.google.com', 5222, 'xxxx@gmail.com', 'xxxxx', 'xmpphp', 'gmail.com', $printlog = false, $loglevel = XMPPHP_Log::LEVEL_INFO); $conn->connect(); $conn->processUntil('session_start'); $conn->presence($status='Controller available.'); var_dump($conn); // this gives me a long output but nothing about status. ex: http://pastebin.com/yfs1V5Jb I also tried getRoster() to see a list of my friend’s info (although I’m only interested in mine) but no luck. Any suggestions how I can get this to work? Thanks.
Tags (comma-separated)
Save Edits
Cancel