Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once("../panel/includes/init.php");
- session_start();
- $username = $_SESSION['username'];
- $password = 'banana7645';
- $xmppPrebind = new XmppPrebind('siga.uem.mz', 'http://siga.uem.mz:5280/http-bind', '', true, true);
- $xmppPrebind->connect($username, $password);
- $xmppPrebind->auth();
- $sessionInfo = $xmppPrebind->getSessionInfo();
- echo json_encode($sessionInfo);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement