connect(); $conn->processUntil('session_start'); $conn->presence(); //$msg = "task ".$pc." | findstr DOMETUD | sort"; //$msg = "reload-execute"; $msg = "task ".$pc." | findstr IUT | sort"; $conn->message('windows@iut.rdz', $msg); $conn->disconnect(); } catch(XMPPHP_Exception $e) { die($e->getMessage()); } ?>