1 Reply Latest reply on Oct 3, 2007 11:21 AM by camfieldaj

    Multi file upload question

    andyd273
      I have an app that uploads files, and does batch uploads, but does it by using the FileReference.upload, and that makes it so that it only uploads one file, calls the upload.php script, and then uploads another and calls the upload.php script again.

      I would like to be able to upload all of the files, then go through the lot of them all at once using foreach($_FILES as $tagname=>$object) so that I when it hits the end it can send one email out instead of one for each file.

      Does anyone know how to make it loop through the upload a bunch of time before triggering the upload.php script?