PHP Classes

Classe Para Upload e Validação: Validate and process uploaded image files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 893 All time: 3,948 This week: 310Up
Version License PHP version Categories
upload_validation 1.0GNU General Publi...5HTTP, PHP 5, Files and Folders


This class can be used to validate and process image files uploaded via Web forms.

It takes an entry of the $_FILES array for an uploaded file and validates whether the size does not exceed a given limit and that the file name extension is of GIF, PNG or JPEG formats.

If the uploaded file is valid, it moves the file to a given directory.

Picture of Gilberto Albino
Name: Gilberto Albino <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 43
All time rank: 55540 in Brazil Brazil
Week rank: 667 Down47 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file Upload.php Class Main class and testing form

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,948
This week:310Up
User Comments (1)
This class is fully secured.
8 years ago (Md Mahfuzur Rahman)