Level 8
Are you sure your public path points to that?
do a
dd(public_path('images')
2 likes
I want to store uploaded images in public_html/images
My code:
{
$imageName = time() . '.' . $request->image->extension();
$request->image->move(public_path('images'), $imageName);
//...
When I upload an image, it's not stored into the server in public_html/images. I cannot find the file on the FTP.
See the screencapture below for more info: https://i.gyazo.com/17eb96b7bc838a97571263b091302672.png
Are you sure your public path points to that?
do a
dd(public_path('images')
Please or to participate in this conversation.