PHP Classes
elePHPant
Icontem

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-09-03 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 882 All time: 3,804 This week: 1,084Up
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: 35
All time rank: 55443 in Brazil Brazil
Week rank: 98 Up5 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:882
This week:0
All time:3,804
This week:1,084Up
User Comments (1)
This class is fully secured.
1 year ago (Md Mahfuzur Rahman)
20%StarStar