jeudi 15 octobre 2015

Create folder inside storage based on user id in laravel 5.1

I am trying to create folder inside storage folder based on user id. For example- if user with an id 1 is logged in, it should create a '1' folder inside storage folder and save uploaded file in that. It is creating the folder but not saving the uploaded file inside that '1' folder. I tried to change permission to 777 and 644 of storage folder after clearing application cache but it didnt work. Any Suggestions where am i going wrong.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire