Questions tagged [multifile-uploader]

281 questions
0
votes
1 answer

InputFilter "setRequired" not working for html5 multiple

I'm having hard time with a weird behaviour of fileinput. This is my form: namespace Frontend\Form; use NW\Form\Form; use Zend\InputFilter; use Zend\Form\Element; use Zend\ServiceManager\ServiceManager; use…
0
votes
0 answers

Encoding issue with MultipartFile

I am having some kinda encoding issue with the MultipartFile. My fileName contains double quote " and Left/right single quotes, and somehow those chars are being replaced with space... I am having issue trying to validate the file name to check…
Korda
  • 21
  • 5
0
votes
0 answers

Can't Pass $_GET variable to upload.php form

I'm using this image uploader from codecanyon and am having a problem passing data from the form to upload.php (I have an ID that is passed into a GET variable from another form on another page. Here is the code:
0
votes
2 answers

Handling multiple file uploads in MVC - How can I know which file is which?

I have a form in my MVC 3 application that allows the user to optionally upload 2 files (or one or the other) and am looking for a way to tell which file is which if only one of the two files is uploaded (e.g. extracting the element ID from the…
Ryan
  • 253
  • 3
  • 17
0
votes
3 answers

HTML Input Multiple Tag

I have a simple HTML form that I am building. I want to be able to added multiple files to submit with the form to upload. Everything I am reading online about HTML5 says that I am able to do this with the HTML5 Input Multiple tag. When I try this…
0
votes
1 answer

Why Multiple File Upload Is Not Working?

I have tried so many ways to make multiple file upload workable using CMultiFileUpload widget. Already, I have checked and followed below links- http://www.yiiframework.com/forum/index.php/topic/47665-multiple-file-upload/ Yii multiple file…
user3273871
  • 53
  • 1
  • 5
0
votes
5 answers

multiple image upload using foreach loop and inserting to database

I am having trouble getting the image files I wanted them to insert in my database I want the picture like the one I uploaded like this: insert into('pic1.jpg'); insert into('pic2.jpg'); insert into('pic3.jpg'); not like this: insert…
Joshua
  • 15
  • 1
  • 1
  • 6
0
votes
1 answer

multiplefile uploader select and show multiple files at once

i want a multiple file uploader (not ajax) for my form.. The features i needed are: 1) ability to select multiple files at once 2) after selection it should display all the filenames (or image) with a button to remove any pic 3) should be able to…
chmoth
  • 23
  • 1
  • 6
0
votes
2 answers

Warning: end() expects parameter 1 to be array, string given on line 31

I am pretty new to php, and trying to do a multiple images upload form( i am looping the process). For some reason i am having this warning(Warning: end() expects parameter 1 to be array, string given on line 31),Which is this line ($temp = (…
Benyaman
  • 451
  • 2
  • 10
  • 25
0
votes
1 answer

Store uploaded file data into array

I have the following situation: I need to upload 3 files at once, when the user clicks to do so. There's the code I have in my view:
sergioviniciuss
  • 4,596
  • 3
  • 36
  • 50
0
votes
1 answer

Specific file size on jquery file upload

I'm using jQuery File Upload UI : https://github.com/blueimp/jQuery-File-Upload/ I'm trying to set a max upload file size depending on the file extension. If the file is a video, set maxFileSize: 250Mb else set maxFileSize: 100Mb. It's easy to set…
0
votes
1 answer

REST and PHP multifile upload: what http status should return if some (but not all) files fail to upload?

So, I'm building out a PHP-based CMS application that is grounded in RESTful principles (though it certainly veers from them), and I've run into a bit of a dilemma: What is the proper HTTP status to return when POSTing a form that uploads multiple…
Eric Fuller
  • 159
  • 1
  • 8
0
votes
1 answer

ASPxUploadControl: How to make the user add description to a file being uploaded?

I'm using devexpress multi-file upload as explained here, with almost exactly the same C# and ascx code. My problem is, I need the user to add a description associated with the file being uploaded. I don't know if this is possible. (Sorry this is…
Yalda
  • 680
  • 1
  • 18
  • 39
0
votes
1 answer

file upload script not working with variables

I have a PDF uploader that is supposed to save a file to a file path that is based off of a username variable selected from a drop down menu. Everything works but the uploader, as it displays the usernames and the directories are created upon…
0
votes
1 answer

How to check file extension while uploading a file in multifile.js

I need to upload DOC and XLS files to my application. I'm using multifile.js for uploading the file. I need to prevent uploading files except DOC and XLS - how can i achieve that?
Optimus
  • 2,200
  • 8
  • 37
  • 71