I apologize for the double post but I have this problem half solved.
On my end I have a php script that reads from the url, EX:
Url: mywebsite.com/myphp.php?o=hello
and in the script:
$Name=_get['o'];
$Name would equal "hello" in this case.
I then use that input.

So on the server end I need to:
1) Form the URL (Something like: String url = "mysite.com/script.php?o=" + String1";)
2) Get the script to execute via connecting to the url.(I have no idea how.)

Java side:
Java forms the url, EX:
String url = "site.com/phpscript?name=hello";
and uses it the same way a web browser would, therefore executing the PHP script. (That is what I need to know how to do.)