The question was obviously is there a way to cut the process time of each file?
After 24 hours of lots and lots of reading and trying most proberly complicated methods (including HEADER emulating in a session to fake POST send the file).
The following script is not strictly PHP but your own personal takeupload.php script variations can be made to suit any POST data you wish to send, The form used is only an example of the different aspects of FORM features most commonly used today.
Enjoy :)
<SCRIPT language="JavaScript">
function OnSubmitForm()
{
if(document.pressed == 'Site1')
{
document.myform.action ="http://www.sitesome2.com/takeupload.php";
}
else
if(document.pressed == 'Site2')
{
document.myform.action ="http://www.sitesome.com/takeupload.php";
}
return true;
}
</SCRIPT>
<div align=Center>
<form enctype="multipart/form-data" name="myform"
onSubmit="return OnSubmitForm();" method="post" target="inline">
<input type="hidden" name="MAX_FILE_SIZE" value="1024" />
<table border="1" cellspacing="0" cellpadding="10"><tr><td>
File <input type="file" name="file" size="40">
Another File! <input type="file" name="nfo" size="40"></tr><tr><td>
A title? <input type="text" name="name" size="70" />
<select name=\"type\">\n<option value=\"0\">(choose one)</option>
<option value='1'>Midgit Sky diving with ponys!</option>
</select>
</tr><tr><td colspan='2'>
<center>Large text area<br><textarea name='descr' rows='10' cols='100'>
</textarea>
</td></tr>
<tr><td align="center" colspan="2">
<INPUT TYPE="SUBMIT" name="Operation"
onClick="document.pressed=this.value" VALUE="Site1">
<INPUT TYPE="SUBMIT" name="Operation"
onClick="document.pressed=this.value" VALUE="Site2">
</td></tr>
</table>
</form>
<iframe name='inline' frameborder='1' width='600'
height='350' src='' marginwidth='0' marginheight='0'></iframe>
loading

