View Full Version : multy upload withput flash?

07-17-2012, 12:13 PM
i want add to my site multy upload like here
but i want that the user will can to use multy upload from her smartphone
and the problem it that all the multy upload (with php) work with flash....
and iphone not work with flash
what can i do??(ask from the user to upload one file after one filr it is not good because they need to upload many file)
i will happy to help

07-17-2012, 03:24 PM
you can do multiple file uploads with plain HTML/PHP

File 1 <input type="file" name="upfile[]" />
File 2 <input type="file" name="upfile[]" />
File 3 <input type="file" name="upfile[]" />

on the receiving end print_r($_FILES); to see where to go next, also checkout the manual for is_uploaded_file() (http://php.net/manual/en/function.is-uploaded-file.php) and move_uploaded_file() (http://php.net/manual/en/function.move-uploaded-file.php)

07-17-2012, 04:13 PM
There are a few multi-upload functions that work with JS, but they require HTML5 browsers to not use flash. If you're looking for cross browser support including legacy browsers, multi-file upload (in the clean, flash-like sense) is not an option. firepages recommendation of multiple file inputs is your only choice.