962226c573
git-svn-id: svn://netflint.net/xmpphp@7 ef36c318-a008-4979-b6e8-6b496270793b
10 lines
308 B
PHP
10 lines
308 B
PHP
<?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();
|
|
|
|
?>
|