my cv 28 coulum.but not save save cv and show SplFileInfo::getSize(): stat failed for C:\xampp\tmp\php9F9D.tmp info please help me.
public function storeCv(Request $request) { $this->validate($request, [
enter code here` 'full_name' => 'required', 'cvImage' => 'required', ]); $cvImage=$request->file('cvImage');
$name = $cvImage->getClientOriginalName();
$uploadPath = 'public/productImage/';
$cvImage->move($uploadPath, $name);
$imageUrl = $uploadPath . $name;
$this->saveCvInfo($request, $imageUrl);
return redirect('/cv/add')->with('message', 'Cv info save successfully');
//echo '<pre>';
// print_r($productImage);
}`
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire