Hi Vic:
Modern Web browsers now support the addition of multiple file uploads in 1 POST request (without multiple upload input fields).
The actual implementation isn't super hard. On the file input, you make the name an array (so currently skindata becomes skindata[]) and add the "multiple" attribute to it.
Then on PHP, the actual getting of the skins doesn't change drastically. It breaks everything down 1 level further.
Instead of $_FILES['skindata']['name'] being a string.. it becomes an array. same with all of the other parts. Loop through the names using that key in all the other fields like size and tmp_name then validate and add the skin.
I just had the fun of uploading 19 skins and found that the process was quite arduous and knowing how simple it is to integrate multiple uploads (and they are fully backwards compatible to non-multiple upload capable browsers.. they simply accept 1 file).
Modern Web browsers now support the addition of multiple file uploads in 1 POST request (without multiple upload input fields).
The actual implementation isn't super hard. On the file input, you make the name an array (so currently skindata becomes skindata[]) and add the "multiple" attribute to it.
Then on PHP, the actual getting of the skins doesn't change drastically. It breaks everything down 1 level further.
Instead of $_FILES['skindata']['name'] being a string.. it becomes an array. same with all of the other parts. Loop through the names using that key in all the other fields like size and tmp_name then validate and add the skin.
I just had the fun of uploading 19 skins and found that the process was quite arduous and knowing how simple it is to integrate multiple uploads (and they are fully backwards compatible to non-multiple upload capable browsers.. they simply accept 1 file).