including html input field in 'forward' url
Posted: Thu Dec 17, 2009 7:24 am
Hello again!
The documentation for jfileupload explains that you can simply attach parameters to the end of your forwarding url.
but I cant work out how to attach the contents of an html form input field, located on the page containing the java applet. I've tried a few things but I'm fumbling in the dark really.
Ultimately I want the applet to forward (well.. post really but anyway) to a php script which will email the name of the file which was uploaded (easy enough) -and- the persons name, from the field i will include on the java applet page. I was planning to include the name field with a simple html form like so:
<form>
Your name:
<input type="text" name="uploader" />
</form>
obviously I have no idea what I'm doing really.. I'm just an amateur and might be in over my head. If you can just point me in the right direction or let me know even if its possible? Thanks in advance.
The documentation for jfileupload explains that you can simply attach parameters to the end of your forwarding url.
but I cant work out how to attach the contents of an html form input field, located on the page containing the java applet. I've tried a few things but I'm fumbling in the dark really.
Ultimately I want the applet to forward (well.. post really but anyway) to a php script which will email the name of the file which was uploaded (easy enough) -and- the persons name, from the field i will include on the java applet page. I was planning to include the name field with a simple html form like so:
<form>
Your name:
<input type="text" name="uploader" />
</form>
obviously I have no idea what I'm doing really.. I'm just an amateur and might be in over my head. If you can just point me in the right direction or let me know even if its possible? Thanks in advance.