Recommend this page to a friend! |
All requests ![]() |
> | PHP code to identify uploaded file fo... | > | Request new recommendation | > | ![]() |
> | ![]() |
by Hillina - 8 years ago (2015-05-13)
0 | 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. |
0 |
This freeware class can be used to generated and check the mime type of files. |
0 |
hope this helps you, if you find any difficulty ask here http://www.phpclasses.org/discuss/package/8649/ |
0 |
hi. here is what you are looking for. this is a simple file uploader class in php |
+1 |
Here is one that filter file uploads by extension and mime type and has a high user rating. It should do the trick. |
Recommend package | |
|