Login   Register  
PHP Classes
elePHPant
Icontem

Simple Upload File Safely: Validate and process 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-21 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 234 All time: 7,060 This week: 1,884Up
Version Licenses PHP version Categories  
simple-upload-safely 1BSD License, GNU Free D...5.0HTTP, PHP 5, Files and Folders
Description Author  

This is a simple class to validate and process uploaded files.

It can take the details of a uploaded file and validate it to verify if it has one of the allowed MIME types and its size does not exceed a given limit for its MIME type.

The class can move the uploaded file to a given directory after verifying that it exists, has the necessary write permissions and does not have already a file with the same name.

Picture of hasan movahed
Name: hasan movahed <contact>
Classes: 2 packages by
Country: Iran Iran
Age: 23
All time rank: 270147 in Iran Iran
Week rank: 1803 Up45 in Iran Iran Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file class-upload.php Class class upload
Accessible without login Plain text file index.php Example demo class

 Version Control Unique User Downloads Download Rankings  
 0%Total:234All time:7,060
 This week:0This week:1,884Up