Hi Nedwin,
If a HTML page wanted to send variables to a PHP page called test.php say, then you would use a form submit or even just a <a> link.
For example, ...
<a href="test.php?name=fred">test</a>
... would make the variable $_GET['fred'] accessible in test.php.
So, what you want is a Java issue, namely: how to send a HTTP request from a java application?
I have no idea how Java would handle that but I'm sure it'll be elementary.
Hope that helps.
Paul🙂