Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1.     public function check()
  2.     {
  3.         include(base_path()."/XMPPHP/XMPP.php");       
  4.        
  5.         $conn = new XMPPHP_XMPP(
  6.             '#############',
  7.             5222,
  8.             '#######',
  9.             '###########',
  10.             'xmpphp',
  11.             '#############'
  12.         );
  13.         $conn->use_encryption = true; // Optional
  14.         $conn->connect();
  15.         $conn->processUntil('session_start');
  16.         $conn->message('########@###########', 'Wszystko dziaล‚a!');
  17.         $conn->disconnect();
  18.        
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement