Selecting more than one file to upload?

Discussion in 'PHP' started by MCJim, Jun 27, 2008.

  1. #1
    How can I allow users to select more than one file to upload in the upload form? The standard upload form only allows users to select one file. I noticed that Photobucket allows users to select more than one file.

    Any help is greatly appreciated.
     
    MCJim, Jun 27, 2008 IP
  2. zyklon

    zyklon Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    its very simple, you have more than one input field... if you wanted to get fancy you could have javascript to define the #, in order to be able to make it very efficient.
     
    zyklon, Jun 27, 2008 IP
  3. MCJim

    MCJim Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know this but thanks. When you click browse it only allows you to select one file. What I want is to allow users to select more than one file at once. How can I do this? Photobucket has it.
     
    MCJim, Jun 27, 2008 IP
  4. dannet

    dannet Well-Known Member

    Messages:
    864
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    153
  5. itnashvilleCOM

    itnashvilleCOM Banned

    Messages:
    176
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Just setup multiple file input fields, each with their own name.
     
    itnashvilleCOM, Jun 28, 2008 IP
  6. MCJim

    MCJim Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    MCJim, Jun 28, 2008 IP
  7. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70