PHP Classes

Easy Upload Class: Validate and process files uploaded via forms

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 483 All time: 5,930 This week: 455Up
Version License PHP version Categories
easy-upload-class 1.0BSD License5HTTP, PHP 5, Files and Folders, Valid...
Description 

Author

This class can Validate and process files uploaded via forms.

It can check the MIME type of the uploaded file against a list of allowed MIME types, check if the file does not exceed a given length limit, and check if the file is a valid upload.

Image files may have their size verified for exact or limit dimensions.

Files that passed the validation checks may be moved to a given destination directory.

Picture of Piotr
Name: Piotr <contact>
Classes: 1 package by
Country: Poland Poland

  Files folder image Files (2)  
File Role Description
Plain text file upload.class.php Class Main classfile
Accessible without login Plain text file example.php Example Example of use

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:483
This week:0
All time:5,930
This week:455Up
User Comments (1)
the example is a partial file.
13 years ago (Jan Lucas)
32%StarStar