Hi all, I am trying to upload multiple images from a single input, but i can't figure out how. My form is like this: <form action="test.php" method="post" enctype="multipart/form-data"> <input type="file" name="images[]" multiple="multiple" /> <input type="submit" value="Submit" /> </form> How do i access these files from PHP?
I use fancy upload http://digitarald.de/project/fancyupload/ It's easy, enables drag and drop, and multiple uploads at the same time. If that's what you mean...
With Rukbat's example, please implement some real security on top of that, because if you're ot careful, people could upload their own scripts to your server. But you already knew that right? I was just throwing it out there. That goes for ANY upload script though....
Thanks for your replies, guys. Fortunately i found the way right after opening the thread, and it's something in the lines of rubkat's example.