PHP Classes

Simple Uploader: Validate and save uploaded files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-01 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 622 This week: 1All time: 4,712 This week: 1,155Up
Version License PHP version Categories  
simple-uploader 1.3GNU General Publi...5HTTP, PHP 5, Files and Folders
Description Author  

This class can validate and save uploaded files.

It can validate an uploaded file by checking that it does not exceed a given size limit and it has one of the allowed file name extensions and MIME types.

A valid file is saved to a given directory with the original file name, if there is no other file already there with the same name.

Picture of Unay Santisteban
Name: Unay Santisteban <contact>
Classes: 7 packages by
Country: Spain Spain
Age: 26
All time rank: 105822 in Spain Spain
Week rank: 139 Up4 in Spain Spain Up

  Files folder image Files  
File Role Description
Accessible without login HTML file example-upload.html Data Example of the upload form
Accessible without login Plain text file example-upload.php Example Example of class usage
Accessible without login Plain text file LICENSE Lic. Licence
Accessible without login Plain text file Doc. Readme
Plain text file upload.class.php Class Main class

 Version Control Reuses Unique User Downloads Download Rankings  
 100%1Total:622All time:4,712
 This week:1This week:1,155Up