I use Laravel 5.4 and I try upload video file. Image file upload successfully.
$video = Request::file('video_file')) {
$fullName = 'videos/'.uniqid().time().'.'.$video->getClientOriginalExtension();
Storage::disk()->put($fullName, $video);
But it didn't work. When I try get information about file - size = 0
What I do wrong?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ncNQZw
via IFTTT
Aucun commentaire:
Enregistrer un commentaire