Example code for http-bindings with XHTML/PHP?


We’‘re building a prototype of an XHTML-interface using Wildfire http-bindings. We don’'t have a lot of experience with Wildfire or the http-bindings, anyone who have any example-code of how to create session, load roster, send/receive messages etc?

We’‘ve looked at JWChat, but what we’'re trying to build is a much simpler interface. Working in PHP.