Results 1 to 6 of 6
  1. #1

    Default need help with file upload :)


    naa koi 3 ka type="file" attribute sa <input> tag.
    1 <input type="file" name="file" id="file" />
    2 <input type="file2" name="file2" id="file2" />
    3 <input type="file3" name="file3" id="file3" />

    dara ang picture ai.
    http://support.omniupdate.com/docume...s/upload-l.png
    pero 3 ra ka ing ana.

    ang normal nga mahitabo ana, kada upload nako magsigi ko click sa "browse" nga button diba? ...(yes)

    ang problema nako run. unsaun igka click nako sa 1st nga browse button,
    mu select ko ug 3 ka files
    then automatic na dayun nga ang 1st file nga ako na select ma adto sa 1 then ang 2nd mu adto sa 2 nya ang 3rd mu adto sa 3.

    medyo lisud sya i explain.
    bale ang mahitabo jud ana. one selection naa na dayun value ang 3 ka browse2x

    ako na gi tryan ug search ni bestfriend google. but then wala man jud guy specific term para sa problem so di sad specific ang gihatag nga results.


  2. #2
    input type is incorrect, it should be

    Code:
    <input type="file" ...>
    not file...file1...file2

    Only the id and name should be different

  3. #3
    Code:
    <!-- The data encoding type, enctype, MUST be specified as below -->
    <form enctype="multipart/form-data" action="__URL__" method="POST">
    
     <input type="file" ......................> 
     
        <input type="submit" value="Send File" />
    </form>
    You should study the effects before and after the request.
    It depends on the NAMES and TYPES you are about to send.

    If you created your own tracelog and trace everything. Try tracing all the structures of $_FILES and $_POST after the request you'lll see the set of data you are actually receiving. If it is blank, there is something wrong with your form or during the request.

    raw uploaded FILES are sent to /tmp/ <--- folder, if ever fails, you'll see it there (hidden folder). Default built-in functions should redirect the temporary files to your DESIGNATED FOLDER based on your instructions
    Last edited by dodie; 03-30-2010 at 10:05 PM.

  4. #4
    @ChaosOrb:
    haha..typo2x sorry about that. ^^
    @dodie:
    i've tried that and was successful with uploading . but i want to upload multiple files with just ONE selection.

    say for example the sample picture
    http://support.omniupdate.com/docume...s/upload-l.png

    if i click the 1st browse button (the directory will then open )
    i'll select 3 files
    then all 3 text boxes will then be filled with different file paths.


  5. #5
    i can help, I've done that using flash and php, it's impossible to do it in plain html tags.

  6. #6
    waaa....can you help me then? ---> please
    the main problem here is multiple file upload right?

    i downloaded the fla file from this site
    Kevin Musselman Multiple File Upload Using Flash

    that file solves the selecting part.
    but i don't know if it solve the saving part.
    i want the selected files to be saved in a folder. and on my server. i'm using php
    i saw some .php files in the function there. but i don't know what those php files are for.


    complex na kaayu T.T

    help me please

  7.    Advertisement

Similar Threads

 
  1. Need Help with Random Access File
    By akocdiego in forum Programming
    Replies: 8
    Last Post: 10-23-2012, 10:57 PM
  2. NEED HELP WITH .mdf FILE
    By saulrhyz in forum Software & Games (Old)
    Replies: 3
    Last Post: 04-16-2008, 11:40 AM
  3. need help with p900
    By kloos in forum Gizmos & Gadgets (Old)
    Replies: 8
    Last Post: 09-04-2006, 01:55 PM
  4. NEED HELP WITH THIS CODE
    By saminoske in forum Websites & Multimedia
    Replies: 1
    Last Post: 12-05-2005, 11:27 AM
  5. Need help with CSS png transparency.
    By silent-kill in forum Websites & Multimedia
    Replies: 1
    Last Post: 07-01-2005, 11:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top