Login   Register  
PHP Classes

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 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 612 All time: 4,695 This week: 1,519Up
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: 26
All time rank: 110623 in Spain Spain
Week rank: 103 Up3 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:612All time:4,695
 This week:0This week:1,519Up