Post from PHP page to Java program and output result
<p>I have a PHP page on one server, which asks for some login details from a user. </p>

<p>I then have a Java application on another server.</p>

<p>I am trying to POST the results from the login form to the Java application, then respond with a yes/no as to whether the details were correct. </p>

<p>Whats the simplest way of going about this? I have read plenty on using sockets to post from Java, not I can't seem to find a good tutorial that explains how to post from a form, process it and return the results pack to the user.</p>
