unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

XMPP Solution Required #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
include("XMPP.php");

$conn = new XMPPHP_XMPP('talk.google.com', 5222, 'karan.sapkale@gmail.com',
'PASSWORD', 'xmpphp', 'gmail.com', $printlog = false,
$loglevel = XMPPHP_Log::LEVEL_INFO);

try {
    $conn->connect();
    $conn->processUntil('session_start');
    $conn->presence();
    $conn->message('anyuser@gmail.com', 'Hi!');
    $conn->disconnect();
} catch(XMPPHP_Exception $e) {
    die($e->getMessage());
}

this code is not working for me !
please help me through issue.
i am using WAMP server (PHP 5.3.2)

Original issue reported on code.google.com by karan.sa...@gmail.com on 21 Aug 2012 at 1:15

GoogleCodeExporter commented 9 years ago

Original comment by mailsfor...@gmail.com on 21 Aug 2012 at 1:47