If you want to integrate via a
java back-end:
String jForumURL = "http://localhost:8080/jforum/jforum.page?";
String data = "module=user&action=insertSave&username="+user.getDisplayName()+"&email="+user.getEmail()+"&password="+password+"&password_confirm="+user.getPassword();
URL url = new URL(jForumURL);
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream());
writer.write(data);
writer.flush();
// Get the response
BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = reader.readLine()) != null) {
//Check if it was successful or not
}
writer.close();
reader.close();
[originally posted on jforum.net by Tasha888]