I know there are a lot of perl and php based upload scripts out there E.G Magaupload and Uber Upload, but Im finding it real hard to modify these scripts to work for me. Now I must warn you that I know a very litle about Perl but well knowledgable in PHP.
This is what I want:
upload form. The form will allow 2 files to be inputed. Before the submit button can be pressed javascript will check the inputs firstly for invalid extensions. I know this can be bypassed but it an aditional measure to stop the attepmt of files being uploaded with wrong file extensions. (I can code all this part)
Once passed the form and submitted a popup window uploads the files with a progress meter. This popup should be in perl. The perl script should check for obvious no no's for extensions eg php asp etc Also in the perl script should be an upload size limit.
IF passes the checks again then the files being uploaded just be renamed to a random name and also have the extension .tmp added to the end. eg mypicture.jpg -> g8sh475h.jpg.tmp Once stored in an upload directory the popup closes and tell the original upload form (php page) that the file upload has finished and give the results back to that page to be then proccessed. from there further checks will be done on the file. Further file extension checks and filesize checks with possibly mine type checks. ( I can do that part)
Can any one recomend a perl upload script out there that would be able to achieve such thing with a slight modification? many the scripts Ive come across have loads of files when realisticly I want one file form the upload form and processing and one file which displays the upload progress.
Thanks