I have a file $fileImage = $_FILES['fileCatImg'];, everything works when I try to download it, but how to check if the file is selected first? if (isset($fileImage))and if (empty($fileImage))do not work. One of them always returns true value, but another always returns false value.
source
share