Login   Register  
PHP Classes
elePHPant
Icontem

Simple Uploader: Validate and save uploaded 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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-01 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 595 This week: 4All time: 4,747 This week: 432Up
Version License PHP version Categories  
simple-uploader 1.3GNU General Public Lice...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: 25
All time rank: 116223 in Spain Spain
Week rank: 12 Up1 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 README.md Doc. Readme
Plain text file upload.class.php Class Main class

 Version Control Reuses Unique User Downloads Download Rankings  
 100%1Total:595All time:4,747
 This week:4This week:432Up