How to create storage folder and sub folder using input names in laravel 5
3 1  | i am need advice to create folder upload in storage, i want to make folder using 4 column textbox 
 how to make folder like this 
and the code here 
 | |||
add a comment  | 
1  | Once you have sanitized and stored the input strings in the relative variables, to create the folder and upload the file you can do: 
 | |||
I have my Laravel project that will save files (txt or csv) after making some computations.
I'm looking after a best practice on where to save these files. Maybe /resources/csv/...?
Second question how would it be the best way to reference this path from within classes? Setting up the abs path in .env file? Is there a laravel method that will return the path to resources?
                        
来自 http://stackoverflow.com/questions/34307733/how-to-create-storage-folder-and-sub-folder-using-input-names-in-laravel-5