How do I check what file $_FILES
is? I've seen ways, where MIME-TYPE is used, but I've read that checking the MIME-TYPE is not a save method. I know how it works with images. There you can use Attributes like "IMAGE_JPG" or "IMAGE_PNG". But "TEXT_HTML" doesnt exist.
So please help me, i would like to use the only proper Way.