Hello


On Wed, 3 May 2006, Tony Aldrich wrote:

> Can somebody recommend clean php jabber library? I must send notifications
> to some users.



This lib weems to work:

http://cjphp.netflint.net/

require("class.jabber.php");

$jabber = new Jabber;

$jabber->server         = "jabber.org";
$jabber->port           = 5222;
$jabber->username       = "user";
$jabber->password       = "passwd";
$jabber->resource       = "ClassJabberPHP";

$jabber->Connect() or die("Couldn't connect!");
$jabber->SendAuth() or die("Couldn't authenticate!");
$jabber->SendPresence();
$jabber->SendMessage('[EMAIL PROTECTED]', 'normal', NULL, array('body' => 
'Hello');
$jabber->Disconnect();


-- 
--Jyry
C|:-(    C|:-/    C|========8-O    C|8-/    C|:-(

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to