In PHP, it will upload to its temp folder. You can find that in phpinfo().
I would use a different folder than the storage one.
Hey , I understand that the server automatically blocks access to the storage folder . How do I find the path of the file after coming to the server ?
``` Input::file('file')->move(storage_path(),Input::file('file')->getClientOriginalName());
$image = Input::file('file')->getClientOriginalName();
$id = Auth::user()->id;
$user = User::find($id);
$user->profile_image = $image;
$user->save();
If Unix/Linux based and Laravel 4.2.*
chmod -R 777 app/storage
Or if you don't want to make it 777 (world writable), do this so the group of your webserver user can read/write
chmod -R 775 app/storage;chgrp -R <web_user> app/storage
Please or to participate in this conversation.