@takayukister
$size = getimagesize($_FILES[‘image’][‘tmp_name’]);
getimagesize() returns empty.
The file exists in $_FILES[‘image’][‘tmp_name’], but image metadata cannot be read from it during validation.
$_FILES:
(
[name] => test.jpg
[full_path] => test.jpg
[type] => image/jpeg
[tmp_name] => /Applications/XAMPP/xamppfiles/temp/phpr5jkh2
[error] => 0
[size] => 611211
)