Almost a year after the first release of the Easy PHP File uploader PHP script I released a new version.
I improved the script to allow multiple file upload. This feature is disabled by default, so you need to enable it. It is not a bug fix release. Those of you who are not interested in this new feature do not need to upgrade their code.

How to enable multiple file upload?

  1. Uncomment the following line in index.php file.
    <a href="#" id="lnkAddNewFileInputBox">more files</a>
  2. Replace value none with decimal in the following line in main.css file.

    
    #fileBoxesLst li {
        list-style-type: none; /* decimal */
    }
    

It is also possible to have a fixed number of file upload input boxes. Remove or comment the "more files" link.
Then add as many file upload boxes as you need. For example:

more-file-input-boxes.png

Links

4 Responses to “Easy PHP File uploader - new release”

  1. Big Rabbit Says:

    I think there should be a link shown after the uploading finished so we can copy the links to elsewhere…

  2. JaneRadriges Says:

    Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting

  3. Pawel Says:

    Hello
    I just use it for a client to have multiple uploads on site :). I change some code but wonder if it possible to have error check a little different.

    When I left one of inputs empty - script uploads all files but gives a error. I haven’t found how to fix this.

    regards
    Pawel

  4. Gert Swanepoel Says:

    Hi There,

    I have searched long and hard to find an upload script that will work for me and I think i found it. I have one question…
    I have a form where my client will capture certain information and on submit store that information in a mysql database. I then pass a session variable to this upload page with a reference. This reference is unique and I need to create a folder on the server with this reference. The files must then be uploaded to this folder.
    Can this be done?

Leave a Reply