Hi,
Here is the code.. I think it actually worked one time(didnt work again though)... Also, should I be using the second line(the one I have remarked out) for my
String? Thanks!
try{
String inputString = "JustaTest";
//String inputString = URLEncoder.encode("blah blah","UTF-8");
URL postURL = new URL("http://www.example.com/App/LogCustomization.php");
URLConnection connection = postURL.openConnection();
connection.setDoOutput(true);
PrintWriter out = new PrintWriter(connection.getOutputStream());
out.println("inputString=" + inputString);
out.close();
}catch(MalformedURLException e){System.out.println("Malformed URL Excpetion Thrown");
}catch(IOException e){System.out.println("IO Exception Thrown");
}