CodeIgniter Forums

Full Version: Organizing uploads using the Uploads Class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I am working on a project that uses the File Upload Class. It's pretty standard and straightforward based off the user guide. I am looking to extend it further by organizing the files during the upload.

My ideal situation would be to take the files that are uploaded and create a directory slug. Each upload would create a new folder(referenced as "instant" below) which would hold the contents.

Code:
uploads/instance/files.extension

Wondering if anyone has done something like this. Thanks!