In your HTML code, have up to 10 input file fields with different names, e.g. file1, file2. A loop may help here, and you could keep a count or just make sure the files are numbered sequentially. You could improve this by only showing one and an add button for the rest up to a maximum of 10.
On the server-side, use a loop for each upload file. If one doesn't exist, stop. Here you could use the count, but don't necessarily depend on it.
If you need any help with the coding, post your code.