Project

General

Profile

[Q] How to create Web Message on my localhost to tigase server

DevOne Winner
Added over 5 years ago

hi im newbie on xmpp & tigase

i try to find a php function or sample php api to connect xmpp tigase server

i have small test xmpp tigase server on my server

need to know how i connected and sending message to local server

can someone make easy php function for me please

thank you.


Replies (3)

(1)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Easiest way will be to grab a php xmpp library (pick one from the list of xmpp libraries for example JAXL or xmpphp) and follow it's documentation.

(1)

Added by DevOne Winner over 5 years ago

i can't understand of code can send me sample code for php please

i try to use xmpphp but nothing message send.

i don't know how to use for tigase server

thank you.

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Both server (Tigase XMPP) and client (any library of your choosing) follow XMPP specification thus each element is interchangeable and doesn't depend on each other while remaining withing XMPP realm, hence it is not a problem how to make any library connect to Tigase but more how to exactly use library. With that in mind and considering the fact that we are mostly java we can help you in that area i.e. anything related to Tigase, and when it comes to client library that would be jaxmpp2 project, but again - it's in java and not php.

    (1-3/3)