|All requests||>||Upload any type of files||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Bhaskar Krishnaswamy - 7 years ago (2015-02-25)
I want the file to be checked based on magic no or type of content file not file extensions
1. by Manuel Lemos - 7 years ago (2015-03-04) Reply
Do you want a class that handles the actual upload process or just checks files to determine their types from the content data?
This freeware class checks any file using mime types. Additional checks on extension possible.
This is a simple uploader class which can check file for mime type as well as extension. If you want to check only its MIME type not extension then go for it