Skip to content

Extension to the CodeIgniter Upload class to allow multiple files to be uploaded at once.

Notifications You must be signed in to change notification settings

Binternet/CodeIgniter-Multiple-File-Upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

#CodeIgniter Multiple Upload Library Just an extension to the existing Upload class to take advantage of multiple uploads in one form field

##v.0.2: November 7, 2011

Changes Added a parameter to return all the uploaded file(s) info as opposed to boolean. Set to false to return boolean instead.

##v.0.1: July 7, 2011

Description This version is a quick and dirty first pass for a project I'm currently working on. I haven't worked on the error reporting piece yet, so feel free to send in that contribution if you're so inclined.

Installation Copy MY_Upload.php to your application/libraries directory. If you are using a prefix other than MY_ for your classes and/or alternative file paths, adjust accordingly.

Usage Load the Upload class as usual, in your controller call the function do_multi_upload(). If you are uploading a single file, it'll default to the regular do_upload() method. In the form, set field names to array (e.g. name="userfile[]")

About

Extension to the CodeIgniter Upload class to allow multiple files to be uploaded at once.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%