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!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.