I was wondering if there was a way to add a “remove” button on each file, in order to delete it from the server?
Otherwise, I wen’t through your doc, but I was unable to find infos about temp files.
Is that possible to get the size and type of the file, before to move it from the temp directory to the definitive one?
For example, we have:
$fileName = $_FILES[$inputName][‘name’];
$tempLoc = $_FILES[$inputName][‘tmp_name’];
Could we have something like:
$size = $_FILES[$inputName][‘size’];
$mime = $_FILES[$inputName][‘mime’];
Sorry, i do not understand the question. You can use PHP functions to read file size and it’s mime type of course.
filesize($filename)
mime_content_type()