Is it possible to run a Java Applet loaded onto a users machine using a PHP script on a website and send a couple of variables from the PHP to the Applet?
This is a controlled environment that this is running in, so exploitation is not a concern.
It (the PHP) gives the applet 3 pieces of data, the applet goes out to another site that cannot be interacted with using PHP, gets the information from that site and stores it in a database. The current hosting is not capable of running Java.