PHP and Jabber

Hi Guys,

I am a total newbie and really curios. I installed openfire on my machine and downloaded the php class for connecting with the jabber server.

And it seems to be working.

Now my idea is to enable the user to add an account to his/her IM (e.g. info@addy.com). And as soon as the user enters a message to that account a menu is returned which they can interact with.

Similar to something like imified.com.

Can someone guide me into the right direction.

Thanks.