I have a website that I have to upload items to on a regular basis and I was trying to figure out how to make it to where I can add more than 1 file at a time to the site. I now use the below code to get uploads to work. I would like to make it to where I can add say 5-10 files at once. I tried a few changes but anything i did seems to break the script, here is the script any help would be greatly appreciated
You can have multiple file fields, just name them as such by appending “”…just be aware that $_FILES ends up structured in a way that you might not expect. If you do this…
Keep in mind that you will need to set your php.ini configuration accordingly using that method, specifically upload_max_filesize and post_max_size. upload_max_filesize being the sum of all files being uploaded, and post_max_size being the sum of upload_max_filesize and the rest of the form’s content. If I remember that correctly.