I hope you know how to upload exactly one file. Something like this:
<form method="post" .... >
<input name="image1" type="file"> Image #1</input>
</form>
If you add two more
input
elements in the middle, you will allow the user to upload exactly three. This is the simplest method you can use.
—SA