Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    multy upload withput flash?

    hi
    i want add to my site multy upload like here
    http://demo.swfupload.org/v250beta3/...demo/index.php
    SIMPLE....
    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
    thank!

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,093
    Thanks
    11
    Thanked 101 Times in 99 Posts
    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() and move_uploaded_file()
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,537
    Thanks
    45
    Thanked 259 Times in 256 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •