
-----------------------------------
jin
Wed Feb 23, 2011 6:57 pm

PHP cURL Help - PHP to Java sever communication
-----------------------------------
Hi I am trying to communicate between a web server (apache, php) and a chat server (openfire in java) I need to create a chat room from a php call. I found some code that says it does this but i cant get it to work, I have never worked with cURL before so was trying to rewrite this to understand a well but still nothing. index.php and open.php are what i founnd and also showed its output.  For the code i wrote i am only trying to login and the index but it keeps displaying the login form its as if the username and password are not being used. Any help would be appreciated.


[code]
Index.php


  room name:
  room desc:
  room topic:
  debug
  
[/code]


[code]
Open.php

