Answers for "Can't write image data to path"

0

Can't write image data to path (C:\xampp\ht

How to change file permission on  Windows 10.
Right-click on a file or folder.
Select Properties.
Click the Security tab.
Click Edit
Click "Change" next to the owner name ( set full permission to all users ). 
Apply 
OK 
thats it
Posted by: Guest on January-20-2021
-1

Can't write image data to path

Just change this:

$path = public_path('images/cars/'.$filename);

To this:

$path = 'images/cars/' . $filename;

Also, make sure that, the target path/location is writable, has write 
permission.
Posted by: Guest on August-22-2020

Browse Popular Code Answers by Language