Easy upload of multiple files with minimal plugins

I want to do multi-user file uploads (you know, the type that says "select your image (s)" and actually allows you to select more than one from the file dialog)

What is the EASIEST way to do this (I know someone is going to say jQuery) using the source PHP as the backend?

+3
source share
3 answers

The easiest way is to use HTML5 built into several file downloaders

<input type="file" name="uploads[]" multiple="true"/>

But at the moment it only works with the latest Safari, Chrome and Firefox. For any other browsers, you need to get back to the good old Flash component, like SWFUpload or whatever.

+3

, (, Flash - javascript , ), , .

0

I used Uploadify , and I can say that it was very easy to use. Check out the latest demo on this page.

It uses jQuery and even comes with a small sample PHP script.

0
source

Source: https://habr.com/ru/post/1784414/


All Articles