Essentially I just want to pass a String from my applet to a .php page on the server (Or a function from a php page), possibly by retrieving the String like a Form parameter on an html page.
Depending on how the applet/PHP interaction should work I see two ways to do this. Either the applet just accesses the PHP URL with the parameters and reads a response which it can make sense of. The java.net.URL class and its openStream method can do that (the URL can contain GET parameters).
Or the page containing the applet gets replaced by a web page generated on the server; again, the URL could contain parameters. For this you'd use java.applet.Applet.getAppletContext, and then AppletContext.showDocument. [ October 26, 2007: Message edited by: Ulf Dittmer ]