I am trying to get the exact uploaded image size by using getimagesize() php helper on Laravel 7. But i get an error
ErrorException: Undefined property: IlluminateHttpUploadedFile::$name on the line where the code is:
if($request->file('image') != null){
$upload = $request->file('image');
$sourceProperties = getimagesize($upload->name);
Please help understand the issues since it only occurs on the Debian server and not locally... It works fine on local
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…