Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function check()
- {
- include(base_path()."/XMPPHP/XMPP.php");
- $conn = new XMPPHP_XMPP(
- '#############',
- 5222,
- '#######',
- '###########',
- 'xmpphp',
- '#############'
- );
- $conn->use_encryption = true; // Optional
- $conn->connect();
- $conn->processUntil('session_start');
- $conn->message('########@###########', 'Wszystko dziaลa!');
- $conn->disconnect();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement