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: 892 All time: 3,939 This week: 298Up
Version License PHP version Categories
upload_validation 1.0GNU General Publi...5HTTP, PHP 5, Files and Folders
Description Author

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: 41
All time rank: 55540 in Brazil Brazil
Week rank: 443 Up31 in Brazil Brazil Up

  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,939
This week:298Up
User Comments (1)
This class is fully secured.
7 years ago (Md Mahfuzur Rahman)
For more information send a message to info at phpclasses dot org.