I found that each time a file is uploaded the process file is accessed twice.
The first time no vars are posted. In my case it causes that Apache generates 4 error messages/upload. Have an idea when users upload hundreds of files...
The second time is the regular one.
Here are some parameters from applet_http.js:
Code: Select all
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="http://domain.com/process-upload.php">');
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="mode" VALUE="http">');
document.writeln('<PARAM NAME="param7" VALUE="codigo">');
document.writeln('<PARAM NAME="value7" VALUE="DATA">');
document.writeln('<PARAM NAME="filter" VALUE="jfileupload.upload.client.filter.ImageFilter">');
Thank you