$asu=($i.$user);
$conn = new XMPPHP_XMPP($host, $port, $asu, $password, $resource, $server, $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);
$conn->connect();$conn->processUntil('session_start');
sleep($timer);
$conn->presence(NULL, "bot", "$to/$asu", "available");
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $value, $type3, $subject=$value);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->message($to, $body1, $type3);
$conn->presence(NULL, "bot", $to."/".$usa, "unavailable");
}
}}
?>
Best Regard : Dejavu Nugroho
Sabtu, 06 Agustus 2011
Script PHP Mengirim pesan ke Groupchat/Room
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar