PHP Classes
elePHPant
Icontem

Soft Uploader: Validate and move an uploaded file

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-04-19 (2 years ago) RSS 2.0 feedStarStarStar 56%Total: 753 This week: 2All time: 4,263 This week: 492Up
Version License PHP version Categories
soft-uploader 1.1GNU General Publi...5HTTP, PHP 5, Files and Folders, Valid...
Description Author

This class can validate and move an uploaded file.

It can take an uploaded file and check if it has one of the allowed file name extensions, as well one of the allowed MIME types. It also checks if the file size does not exceed a given limit.

Valid files are moved to a given destination directory with an unique name based on the current time and the original file name extension.

Picture of Ahmed Syam
  Performance   Level  
Name: Ahmed Syam <contact>
Classes: 2 packages by
Country: Egypt Egypt
Age: 24
All time rank: 227722 in Egypt Egypt
Week rank: 476 Up4 in Egypt Egypt Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example how to use class
Plain text file upload.class.php Class uploader class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:753
This week:2
All time:4,263
This week:492Up
User Ratings User Comments (2)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1425
 
Very useful class to manage the files uploading.
8 months ago (MOUSTAFA MOHAMMED ELGAMMAL)
70%StarStarStarStar
good job thanks
2 years ago (Ahmed Yassin)
70%StarStarStarStar