Let's say I want to make sure a file that's being uploaded is an image file and not anything else, what are my options? I can try to validate through extension but I'm not sure if that's the best way. A user can rename a file's extension to anything he/she
wants. Is there such a tool/option to realy determine the actual file type or content before accepting that file?
Go to the complete details ...