Entry
How can a Java-Applet(Client-side) Post data to a PHP-script?
How can a Java-Applet(Client-side) Post data to a PHP-script?
Jan 28th, 2001 20:59
w ober, Matt Gregory, Alessandro Portale,
The only real way to do this is to use the form.submit() javascript
function and have the form handled by a php script on the server. The
only problem is that in order to use the form data in the applet, you
will have to get the information back from the server to the applet.
This could require a lot more work. I would only suggest that you do
this is the form submittal was the exit point of the applet.
OR check out HTTPClient at http://www.innovation.ch/java/HTTPClient/