Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-03 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 852 This week: 1All time: 3,783 This week: 1,529Up
Version License PHP version Categories  
upload_validation 1.0GNU General Public Lice...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: 34
All time rank: 60546 in Brazil Brazil
Week rank: 96 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:852All time:3,783
 This week:1This week:1,529Up