PHP Classes

Soft Uploader: Validate and move an uploaded file

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 864 All time: 4,057 This week: 488Up
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: 32
All time rank: 224522 in Egypt Egypt
Week rank: 273 Up4 in Egypt Egypt Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:864
This week:0
All time:4,057
This week:488Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2350
 
Very useful class to manage the files uploading.
8 years ago (MOUSTAFA ELGAMMAL)
70%StarStarStarStar
good job thanks
10 years ago (Ahmed Yassin)
70%StarStarStarStar