Gibi başlık diyor, ben birden fazla alıcıya aynı mesaj göndermek istiyorum. Ben PHP kütüphanesi XMPPHP kullanmak ve bu tek mesaj göndermek:
<?php
include("xmpp.php");
$conn = new XMPP('talk.google.com', 5222, 'username', 'password', 'xmpphp', 'gmail.com', $printlog=False, $loglevel=LOGGING_INFO);
$conn->connect();
$conn->processUntil('session_start');
$conn->message('someguy@someserver.net', 'This is a test message!');
$conn->disconnect();
?>
Ben bu bir döngü ile deneyin:
$conn->message('someguy@someserver.net', 'This is a test message!');
Veya tam kod ile bir döngü. Ama hiçbir şey olmuyor ...
Saygılarımızla,
Hannes