How can I execute a PHP script from Java?
<p>I have a php script which is executed over a URL.
(e.g. www.something.com/myscript?param=xy)</p>

<p>When this script is executed in a browser it gives a coded result, a negative or positive number.</p>

<p>I want to execute this script from Java code(J2EE) and store that result in some object.</p>

<p>I'm trying to use <code>httpURLConnection</code> for that.
I establish a connection but can not fetch the result. I'm not sure if I execute the script at all.</p>
