Welcome Guest, Not a member yet? Register   Sign In
Multiple Upload - code review
#2

(01-08-2015, 12:07 AM)Lykos22 Wrote: Hi all,

I'm trying to create an extension on the Upload library in order to upload multiple files at once. This is my repo in order to check the code.

The main idea I have in my mind is that the extension will try to upload all the files, and then will return an array of all files that failed to upload with each error, for instance:


Code:
- File: some_text.txt Error: The file has invalid format
- File: image.jpg Error: The files width or height is too big
etc

and the files that uploaded successfully ( the CI upload data() ).

Hi Lykos22,

Avenirer has a good tutorial on multiple uploads with CI that may answer your query here.

It also documents the whole procedure which may be able to answer any other questions you have with writing your code Smile
Jamie Bond
Full time International Development undergraduate.
Part time website developer.
Reply


Messages In This Thread
Multiple Upload - code review - by Lykos22 - 01-08-2015, 12:07 AM
RE: Multiple Upload - code review - by Jamie - 01-08-2015, 02:42 AM
RE: Multiple Upload - code review - by Lykos22 - 01-08-2015, 03:09 AM
RE: Multiple Upload - code review - by Avenirer - 01-08-2015, 07:53 AM
RE: Multiple Upload - code review - by Lykos22 - 01-08-2015, 08:09 AM
RE: Multiple Upload - code review - by Avenirer - 01-10-2015, 02:37 PM
RE: Multiple Upload - code review - by Lykos22 - 01-11-2015, 09:10 AM
RE: Multiple Upload - code review - by Avenirer - 01-12-2015, 05:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB