faqts : Computers : Programming : Languages : PHP : Common Problems : Tips and Tricks

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

41 of 97 people (42%) answered Yes
Recently 2 of 10 people (20%) answered Yes

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/