The type of file to upload (MPEG3 or not) does not matter at all. I don't see where is your HTML which would allow the user to specify big number of files. The usual simple technique is to allow the user to post how many input controls to present, process this post on server side (with PHP in your case) and generate a form dynamically with required number of input controls with the
type="file"
. The implementation of this is just trivial.
Yes, this is the usual technique, but it is not convenient for the user who needs to browse for each file separately and can easily make mistakes. Why it's limited to file input controls? I don't know. To me, it looks like a big void in the standards.
There is much nicer solution where the user is given a dialog box with multi-select feature and can specify many files at once; please see:
http://forums.asp.net/t/1555692.aspx/1[
^].
There is only one caveat with this, but to me, it's fatal: this solution is based on Microsoft ActiveX and hence not portable. However, you can consider it for some practical purposes.
Any other ideas? Well, you can request the user to send just one file, but that file could compress a number of files in one. It's easy enough to process the compressed file on the server side to extract individual files. How about that? Well, for me as a user it would be a pretty good method, but I doubt that many other users would be able to accept it at all. I'm pretty much sure, most users won't use this method.
—SA