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: 894 This week: 1All time: 3,952 This week: 560Up
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: 43
All time rank: 55540 in Brazil Brazil
Week rank: 106 Up7 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  
 0%
Total:894
This week:1
All time:3,952
This week:560Up
User Comments (1)
This class is fully secured.
8 years ago (Md Mahfuzur Rahman)
20%StarStar