skip to Main Content

Storage Linking Issue in Laravel 8 on localhost – PHP Versions

Laravel Version: 8.35.1 PHP Version: 8.0.0 Description: I'm uploading an image with laravel using this code: $product_image = $request->file('product_image'); $product_image_extension = $product_image->extension(); $product_image_name = time() . '.' . $product_image_extension; $product_image->storeAs('/media/product_images', $product_image_name); $model->product_image = $product_image_name; It works fine, the file is…

VIEW QUESTION
Back To Top
Search