[ejabberd] Sending a message/iq from a web-app

Mickael Remond mickael.remond at process-one.net
Wed Jun 14 12:51:00 MSD 2006


* Heiner Wolf <wolf at bluehands.de> [2006-06-13 20:08:06 +0200]:

> Hi,
> 
> I would like to send an iq request or a message from a PHP based web
> application. I would like to avoid creating a client connection
> including authentication for each message and a persistant client has
> karma limits.
> 
> Is there any way to send an HTTP request to an ejabberd component,
> which turns around and sends the message via xmpp? Is there such a
> component? Can it be done with the HTTP polling thing?

Yes, this can be done via HTTP polling. It will create a normal user session
and you will be able to both send and receive message and answers to
your iq.

-- 
Mickaël Rémond
 http://www.process-one.net/


More information about the ejabberd mailing list