to set up POST and POSTPARAMETERS is all you need to do:
document.writeln('<PARAM NAME="post" VALUE="http://mysite.com/mypage.php">');
document.writeln('<PARAM NAME="postparameters" VALUE="true');
?
and how would one go about getting the list of files that were uploaded on the php side of things.
POST and postparametersRe: POST and postparametersIn your PHP script:
$filename1uploaded = $_POST['filename1']; $filename2uploaded = $_POST['filename2']; and so on. Re: POST and postparametersWill the filenames be the filenames that the client uploaded or the filenames that the applet changed (when duplicate filenames were found and overwrite is off... ) ?
Re: POST and postparametersReal filename uploaded, some after modification (if any)
Re: POST and postparametersWell, I can't seem to get the forward or the post to work... the filenames just don't get sent to the next page....
Where do I add the parameters, in the fileupload .js or in the ipreview .js ?? or in both? Re: POST and postparametersipreview .js
Also, if you want to redirect to an URL after upload then it's not "post" parameter but "forward" parameter that must be used. "forward" sends an HTTP GET and "post" and HTTP POST. HTTP POST discards the HTTP response. See tutorial at: http://www.jfileupload.com/products/jfi ... irect.html |