MO code
Oct 6, 2016
3
Level 1
Saving files in a webhosting with Laravel ?
I have a problem with saving files (photos) with laravel in a web hosting. I can do it in localhost and works perfectly. But now I migrate all project to a web hosting, but saving files is not working.
The form is working, the name of file it's saved, but the file not.
I have this code into my config/filesystems.php:
'local' => [
'driver' => 'local',
'root' => public_path('web/photos'),
],
And I have this folders in public_html/web/photos so whats wrong??
Please or to participate in this conversation.