PHP Classes
elePHPant
Icontem

PHP code to identify uploaded file format: I need a code to identify the file format of uploaded file

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  PHP code to identify uploaded file format  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

PHP code to identify uploaded file format

Edit

Picture of Hillina by Hillina - 9 months ago (2015-05-13)

I need a code to identify the file format of uploaded file

This request is clear and relevant.
This request is not clear or is not relevant.

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.

Ask clarification

3 Recommendations

PHP AJAX Upload file: Process image files uploaded via AJAX

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Ravi Kumar by Ravi Kumar package author package author Reputation 90 - 6 months ago (2015-08-03) Comment

hope this helps you, if you find any difficulty ask here http://www.phpclasses.org/discuss/package/8649/


Simple PHP File Uploader: Validate and process uploaded files

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Pak Xpertz by Pak Xpertz package author package author Reputation 50 - 8 months ago (2015-06-15) Comment

hi. here is what you are looking for. this is a simple file uploader class in php


HTTP Upload: Handle files uploaded via Web forms

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Dave Smith by Dave Smith Reputation 5955 - 9 months 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.


Recommend package
: 
: