|All requests||>||PHP code to identify uploaded file fo...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Hillina - 8 years ago (2015-05-13)
I need a code to identify the file format of uploaded file. I need only .CSV and JSON files to be uploaded. Otherwise the user should receive a message to correct the file being uploaded.
by wim niemans 50 - 1 year ago (2022-04-28) Comment
This freeware class can be used to generated and check the mime type of files.
by Ravi Kumar 90 - 7 years ago (2015-08-03) Comment
hope this helps you, if you find any difficulty ask here http://www.phpclasses.org/discuss/package/8649/
by Pak Xpertz 50 - 7 years ago (2015-06-15) Comment
hi. here is what you are looking for. this is a simple file uploader class in php
by Dave Smith 6845 - 8 years ago (2015-05-13) Comment
Here is one that filter file uploads by extension and mime type and has a high user rating. It should do the trick.