how can i reach the file through $FILES ? i want to insert the file to a DB directly. is this possible or i should use file_get_contents($FILES.... ?
$_FILES only contains information about the uploaded file, not the contents. So yes, you need to use file_get_contents()...