mercredi 30 octobre 2019

How to fix "failed to open stream" error in Laravel project?

I want to upload image file to server. And I have failed to open stream: HTTP wrapper does not support writeable connections" error in "move_uploaded_file" function. How can I fix it?

$image_src = $_FILES['ex_image']['tmp_name'];
$src = asset('assets/images/excavator/'.$title.'.png');
move_uploaded_file($image_src,$src);


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire