Welcome Guest, Not a member yet? Register   Sign In
Organizing uploads using the Uploads Class
#1

[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!




Theme © iAndrew 2016 - Forum software by © MyBB